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:
parent
34cadfdc4e
commit
a91b7d2787
2 changed files with 18 additions and 21 deletions
|
@ -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
|
||||
|
|
21
setup.cfg
21
setup.cfg
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue