Each test runs xidle-inhibit on a private dbus-daemon with fake lockers on PATH, covering lock blocking, cookie handling, restoring after restarts and cleanup.
15 lines
326 B
TOML
15 lines
326 B
TOML
[tool.ruff]
|
|
line-length = 120
|
|
extend-include = ["xidle-inhibit", "xidle-dim"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "B", "UP"]
|
|
|
|
[tool.mypy]
|
|
# Scripts both map to __main__, so check xidle-dim separately: mypy xidle-dim
|
|
files = ["xidle-inhibit", "tests"]
|
|
strict = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|