8000 top: Include tools/cc1 in ruff search path. · micropython/micropython@10b7dfd · GitHub
[go: up one dir, main page]

Skip to content

Commit 10b7dfd

Browse files
committed
top: Include tools/cc1 in ruff search path.
So that pre-commit and CI will check formatting and linting. Signed-off-by: Damien George <damien@micropython.org>
1 parent 2a5c509 commit 10b7dfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
< 6E07 /div>
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ ACKNOWLEDGEMENTS,\
2323
[tool.ruff]
2424
# Exclude third-party code from linting and formatting
2525
extend-exclude = ["lib"]
26+
# Include Python source files that don't end with .py
27+
extend-include = ["tools/cc1"]
2628
line-length = 99
2729
target-version = "py37"
2830

0 commit comments

Comments
 (0)
0