From c401555fb8dd65969680e9b24d3796055ff1848b Mon Sep 17 00:00:00 2001 From: Newbyte Date: Sat, 21 Dec 2024 14:19:22 +0100 Subject: [PATCH] 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. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 953f7ac1..40c6a768 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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