1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-22 15:57:15 +00:00

pyproject.toml: move mypy options

This commit is contained in:
Thomas Waldmann 2023-09-04 23:27:10 +02:00
parent 34cadfdc4e
commit a91b7d2787
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
2 changed files with 18 additions and 21 deletions

View file

@ -73,3 +73,21 @@ python_files = "testsuite/*.py"
markers = [
"allow_cache_wipe",
]
[tool.mypy]
python_version = "3.9"
strict_optional = false
local_partial_types = true
show_error_codes = true
files = "src/borg/**/*.py"
[[tool.mypy.overrides]]
module = [
"msgpack.*",
"llfuse",
"pyfuse3",
"trio",
"borg.crypto.low_level",
"borg.platform.*",
]
ignore_missing_imports = true

View file

@ -68,24 +68,3 @@ console_scripts =
llfuse = llfuse >= 1.3.8
pyfuse3 = pyfuse3 >= 3.1.1
nofuse =
[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