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:
Newbyte 2024-12-21 14:19:22 +01:00 committed by Oliver Smith
parent 426dbec794
commit c401555fb8
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -35,6 +35,7 @@ target-version = "py310"
[tool.ruff.lint]
extend-select = ["CPY001", "UP"]
preview = true
[tool.ruff.lint.extend-per-file-ignores]
# F401: imported but unused, common for __init__.py files