Files
xidle-inhibit/pyproject.toml
T
Daniele Fucini a36e700df6 Add type hints and ruff/mypy config
Annotate all functions and check them with mypy --strict (needs
python-pygobject-stubs). pyproject.toml holds only tool config since
the PKGBUILD installs the script directly.
2026-10-16 17:21:34 +02:00

11 lines
185 B
TOML

[tool.ruff]
line-length = 120
extend-include = ["xautolock-inhibit"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
[tool.mypy]
files = ["xautolock-inhibit"]
strict = true