From 10b7dfd9f20f58987da511d87684662d3a38ef01 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 4 Nov 2025 16:58:02 +1100 Subject: [PATCH] top: Include tools/cc1 in ruff search path. So that pre-commit and CI will check formatting and linting. Signed-off-by: Damien George --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8c14c2bffa..041dd74191 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,8 @@ ACKNOWLEDGEMENTS,\ [tool.ruff] # Exclude third-party code from linting and formatting extend-exclude = ["lib"] +# Include Python source files that don't end with .py +extend-include = ["tools/cc1"] line-length = 99 target-version = "py37"