31 lines
506 B
TOML
31 lines
506 B
TOML
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 88
|
|
|
|
select = ["E", "F", "I"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
/(
|
|
\.git
|
|
| \.mypy_cache
|
|
)/
|
|
'''
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
warn_redundant_casts = true
|
|
disallow_untyped_calls = true
|
|
disallow_untyped_defs = true
|
|
no_implicit_optional = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "setuptools.*"
|
|
ignore_missing_imports = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "pytest.*"
|
|
ignore_missing_imports = true
|