According to `ruff check .`: warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`: - 'ignore' -> 'lint.ignore' - 'select' -> 'lint.select'
31 lines
516 B
TOML
31 lines
516 B
TOML
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 88
|
|
|
|
lint.select = ["E", "F", "I"]
|
|
lint.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
|