forked from Mirror/pmbootstrap
pyproject.toml: Enable Ruff preview (MR 2516)
We need this to check for copyright headers being absent (CPY001). In the future, once that rule makes it out of preview, we can revert this commit.
This commit is contained in:
parent
426dbec794
commit
c401555fb8
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ target-version = "py310"
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
extend-select = ["CPY001", "UP"]
|
extend-select = ["CPY001", "UP"]
|
||||||
|
preview = true
|
||||||
|
|
||||||
[tool.ruff.lint.extend-per-file-ignores]
|
[tool.ruff.lint.extend-per-file-ignores]
|
||||||
# F401: imported but unused, common for __init__.py files
|
# F401: imported but unused, common for __init__.py files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue