move flake8 and mypy to lints.sh; add fmts.sh; use more linters
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user