2024-08-31 19:16:52 +02:00
|
|
|
[project]
|
|
|
|
|
requires-python = ">=3.8"
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
2025-09-27 18:42:39 +02:00
|
|
|
dev=["ruff", "mypy"]
|
2024-08-31 19:16:52 +02:00
|
|
|
|
|
|
|
|
[tool.ruff]
|
2025-03-08 16:45:20 +01:00
|
|
|
required-version = ">=0.9.10"
|
2024-08-31 19:16:52 +02:00
|
|
|
respect-gitignore = true
|
2025-03-08 16:45:20 +01:00
|
|
|
exclude = [".git",".github", "./docs", "kiauh/core/submodules"]
|
2024-08-31 19:16:52 +02:00
|
|
|
line-length = 88
|
|
|
|
|
indent-width = 4
|
|
|
|
|
output-format = "full"
|
2025-03-08 16:45:20 +01:00
|
|
|
target-version = "py38"
|
2024-08-31 19:16:52 +02:00
|
|
|
|
|
|
|
|
[tool.ruff.format]
|
|
|
|
|
indent-style = "space"
|
|
|
|
|
line-ending = "lf"
|
|
|
|
|
quote-style = "double"
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
extend-select = ["I"]
|
2025-09-27 18:42:39 +02:00
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
|
python_version = "3.8"
|
|
|
|
|
platform = "linux"
|
|
|
|
|
# strict = true # TODO: enable this once everything is else is handled
|
|
|
|
|
check_untyped_defs = true
|
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
warn_redundant_casts = true
|
|
|
|
|
warn_unused_ignores = true
|
|
|
|
|
warn_return_any = true
|
|
|
|
|
warn_unreachable = true
|