2
0
python-capport/pyproject.toml

29 lines
569 B
TOML

[build-system]
requires = [
"setuptools>=42",
"wheel"
]
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)
]
[tool.black]
line-length = 120
target-version = ['py311']
exclude = '_pb2.py'
[tool.isort]
profile = "black"
skip_glob = ['*_pb2.py']