mirror of
https://github.com/dw-0/kiauh.git
synced 2025-10-25 23:46:07 +02:00
34 lines
712 B
TOML
34 lines
712 B
TOML
[project]
|
|
requires-python = ">=3.8"
|
|
|
|
[project.optional-dependencies]
|
|
dev=["ruff", "mypy"]
|
|
|
|
[tool.ruff]
|
|
required-version = ">=0.9.10"
|
|
respect-gitignore = true
|
|
exclude = [".git",".github", "./docs", "kiauh/core/submodules"]
|
|
line-length = 88
|
|
indent-width = 4
|
|
output-format = "full"
|
|
target-version = "py38"
|
|
|
|
[tool.ruff.format]
|
|
indent-style = "space"
|
|
line-ending = "lf"
|
|
quote-style = "double"
|
|
|
|
[tool.ruff.lint]
|
|
extend-select = ["I"]
|
|
|
|
[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
|