Files
os-client-config/pyproject.toml
Stephen Finucane 15b72f2214 Add pre-commit, apply ruff
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Iedc7653f27dbe9bb77b6d9bb03117a457e195e58
2025-05-30 17:57:53 +01:00

15 lines
277 B
TOML

[tool.ruff]
line-length = 79
target-version = "py310"
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "S", "U"]
[tool.ruff.lint.per-file-ignores]
"os_client_config/tests/*" = ["S"]
"tools/*" = ["S"]