diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2023-09-04 23:27:10 +0200 |
---|---|---|
committer | Thomas Waldmann <tw@waldmann-edv.de> | 2023-09-04 23:27:10 +0200 |
commit | a91b7d2787978c12c1fdff137954cd65073d9c2f (patch) | |
tree | 3dda97c3efb8f42ea33e57687a2216d78139f742 /pyproject.toml | |
parent | 34cadfdc4e38d8dfb79738886b36cf53cf376b5b (diff) |
pyproject.toml: move mypy options
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 19c37ded1..9df541149 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 |