3
0

move flake8 and mypy to lints.sh; add fmts.sh; use more linters

This commit is contained in:
2023-11-15 12:15:57 +01:00
parent 09ddea939c
commit fdd38d7498
6 changed files with 129 additions and 61 deletions
+6
View File
@@ -7,8 +7,13 @@ build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.11"
# disallow_any_generics = true
# disallow_untyped_defs = true
# warn_redundant_casts = true
# warn_return_any = true
warn_unused_configs = true
# warn_unused_ignores = true
# warn_unreachable = true
exclude = [
'_pb2\.py$', # TOML literal string (single-quotes, no escaping necessary)
]
@@ -20,3 +25,4 @@ exclude = '_pb2.py'
[tool.isort]
profile = "black"
skip_glob = ['*_pb2.py']