2
0
python-capport/pyproject.toml

29 lines
561 B
TOML
Raw Permalink Normal View History

2022-04-04 19:21:51 +02:00
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
2023-01-12 13:16:51 +01:00
[tool.mypy]
2023-11-15 10:02:28 +01:00
python_version = "3.11"
# disallow_any_generics = true
# disallow_untyped_defs = true
warn_redundant_casts = true
2023-11-15 12:21:51 +01:00
warn_return_any = true
2023-01-12 13:16:51 +01:00
warn_unused_configs = true
warn_unused_ignores = true
warn_unreachable = true
2023-01-12 13:16:51 +01:00
exclude = [
'_pb2\.py$', # TOML literal string (single-quotes, no escaping necessary)
]
2023-11-15 10:02:28 +01:00
[tool.black]
line-length = 120
target-version = ['py311']
exclude = '_pb2.py'
2023-11-15 11:22:00 +01:00
[tool.isort]
profile = "black"
skip_glob = ['*_pb2.py']