1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00
borg/setup.cfg

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

130 lines
3.6 KiB
INI
Raw Normal View History

2022-03-23 11:19:18 +00:00
[metadata]
name = borgbackup
author = The Borg Collective (see AUTHORS file)
description = Deduplicated, encrypted, authenticated and compressed backups
url = https://borgbackup.org
2022-03-23 11:19:18 +00:00
keywords =
backup
borgbackup
classifiers =
2022-09-16 19:26:41 +00:00
Development Status :: 4 - Beta
2022-03-23 11:19:18 +00:00
Environment :: Console
Intended Audience :: System Administrators
License :: OSI Approved :: BSD License
Operating System :: POSIX :: BSD :: FreeBSD
Operating System :: POSIX :: BSD :: OpenBSD
Operating System :: POSIX :: BSD :: NetBSD
Operating System :: MacOS :: MacOS X
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
2022-06-03 07:59:40 +00:00
Programming Language :: Python :: 3.11
2022-03-23 11:19:18 +00:00
Topic :: Security :: Cryptography
Topic :: System :: Archiving :: Backup
platforms = Linux, MacOS X, FreeBSD, OpenBSD, NetBSD
license = BSD
license_files = LICENSE
2022-03-23 11:19:18 +00:00
project_urls =
Bug Tracker = https://github.com/borgbackup/borg/issues
Documentation = https://borgbackup.readthedocs.io
Source Code = https://github.com/borgbackup/borg
[options]
packages = find_namespace:
2022-03-23 11:19:18 +00:00
package_dir =
=src
python_requires = >=3.9
install_requires =
2023-03-09 21:26:38 +00:00
msgpack >=1.0.3, <=1.0.5
2022-03-23 11:19:18 +00:00
packaging
platformdirs >=3.0.0, <4.0.0; sys_platform == 'darwin' # for macOS: breaking changes in 3.0.0,
platformdirs >=2.6.0, <4.0.0; sys_platform != 'darwin' # for others: 2.6+ works consistently.
2022-03-23 11:19:18 +00:00
argon2-cffi
tests_require =
pytest
zip_safe = False
2022-03-23 13:19:43 +00:00
# See also the MANIFEST.in file.
# We want to install all the files in the package directories...
include_package_data = true
# ...except the source files which have been compiled (C extensions):
[options.exclude_package_data]
* =
*.c
*.h
*.pyx
2022-03-23 11:19:18 +00:00
2022-03-23 12:19:25 +00:00
[options.packages.find]
where = src
2022-03-23 11:19:18 +00:00
[options.entry_points]
console_scripts =
borg = borg.archiver:main
borgfs = borg.archiver:main
[options.extras_require]
llfuse = llfuse >= 1.3.8
pyfuse3 = pyfuse3 >= 3.1.1
nofuse =
2022-03-23 11:19:18 +00:00
[tool:pytest]
python_files = testsuite/*.py
markers =
allow_cache_wipe
[flake8]
# for reference ...
# E402 module level import not at top
# E501 line too long
# F401 import unused
# F405 undefined or defined from star imports
# F811 redef of unused var
# #### Pick either W503, or W504 - latest recommendation from pep8 is to ignore W503
# W503 line break before binary operator
# W504 line break after binary operator
# borg code style guidelines:
2022-03-02 03:19:33 +00:00
# Ignoring E203 due to https://github.com/PyCQA/pycodestyle/issues/373
2023-07-25 23:15:11 +00:00
ignore = W503, E203, F405, E402
# Code style violation exceptions:
2016-01-30 21:01:27 +00:00
# please note that the values are adjusted so that they do not cause failures
# with existing code. if you want to change them, you should first fix all
# flake8 failures that appear with your change.
per_file_ignores =
2023-07-25 23:15:11 +00:00
src/borg/archive.py:E501
src/borg/archiver/help_cmd.py:E501
2023-07-25 23:15:11 +00:00
src/borg/cache.py:E501
src/borg/helpers/__init__.py:F401
src/borg/platform/__init__.py:F401
2023-07-25 22:19:37 +00:00
src/borg/testsuite/archiver/disk_full.py:F811
src/borg/testsuite/archiver/return_codes.py:F811
src/borg/testsuite/benchmark.py:F811
2023-07-25 23:10:24 +00:00
src/borg/testsuite/platform.py:F811
max_line_length = 120
exclude = build,dist,.git,.idea,.cache,.tox
2016-01-30 21:01:27 +00:00
[mypy]
python_version = 3.9
strict_optional = False
local_partial_types = True
show_error_codes = True
files = src/borg/**/*.py
[mypy-msgpack.*]
ignore_missing_imports = True
[mypy-llfuse]
ignore_missing_imports = True
[mypy-pyfuse3]
ignore_missing_imports = True
[mypy-trio]
ignore_missing_imports = True
[mypy-borg.crypto.low_level]
ignore_missing_imports = True
[mypy-borg.platform.*]
ignore_missing_imports = True