Add pyproject.toml with ruff configuration to limit linting scope

This commit is contained in:
2026-03-22 11:32:45 +00:00
parent 6912189699
commit 2daad00894

9
pyproject.toml Normal file
View File

@@ -0,0 +1,9 @@
[tool.ruff]
include = ["snip/**/*.py", "tests/**/*.py"]
[tool.ruff.lint]
select = ["F", "E", "W"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["F401"]