forked from Mirror/pmbootstrap
pyproject.toml: Add CPY001 to Ruff linting (MR 2516)
This lints copyright headers to ensure we don't forget them. Unfortunately, it is only available in Ruff preview right now, so the following commit will enable that for the Ruff CI check. However, this could be reverted in the future once this check makes it into Ruff "not preview". Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2526
This commit is contained in:
parent
871a3128d8
commit
426dbec794
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ line-length=100
|
|||
target-version = "py310"
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = ["UP"]
|
||||
extend-select = ["CPY001", "UP"]
|
||||
|
||||
[tool.ruff.lint.extend-per-file-ignores]
|
||||
# F401: imported but unused, common for __init__.py files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue