2023-01-09 13:19:49 +03:00
|
|
|
[tool.mypy]
|
2023-02-22 04:45:18 +03:00
|
|
|
files = 'kitty,kittens,glfw,*.py,docs/conf.py'
|
2023-01-09 13:19:49 +03:00
|
|
|
no_implicit_optional = true
|
|
|
|
sqlite_cache = true
|
|
|
|
cache_fine_grained = true
|
|
|
|
warn_redundant_casts = true
|
|
|
|
warn_unused_ignores = true
|
|
|
|
warn_return_any = true
|
|
|
|
warn_unreachable = true
|
|
|
|
warn_unused_configs = true
|
|
|
|
check_untyped_defs = true
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
disallow_untyped_decorators = true
|
|
|
|
disallow_untyped_calls = true
|
|
|
|
disallow_incomplete_defs = true
|
|
|
|
strict = true
|
|
|
|
no_implicit_reexport = true
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 160
|
|
|
|
target-version = 'py38'
|
2023-01-09 14:58:35 +03:00
|
|
|
select = ['E', 'F', 'I', 'RUF100']
|
|
|
|
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
|
|
"kitty/options/types.py" = ["E501"]
|
2023-01-09 14:17:42 +03:00
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 160
|
|
|
|
target-version = ['py38']
|
|
|
|
skip-string-normalization = true
|