exclude gitignored devnotes from the naming/style gate
The gate walks the working tree with grep, which does not honor .gitignore, so it scanned devnotes/ (local scratch notes, already gitignored and never committed) and failed on pasted logs full of em-dashes and arrows. Exclude devnotes/ the same way venv, node_modules, and dist are already excluded.
This commit is contained in:
@@ -35,6 +35,10 @@ EXCLUDES=(
|
|||||||
--exclude-dir=.git
|
--exclude-dir=.git
|
||||||
--exclude-dir=versions
|
--exclude-dir=versions
|
||||||
--exclude-dir=staticdocs
|
--exclude-dir=staticdocs
|
||||||
|
# Local, gitignored scratch notes (see .gitignore devnotes/). Not product
|
||||||
|
# source, never committed, and free to hold pasted logs full of em-dashes
|
||||||
|
# and arrows - grep does not consult .gitignore, so exclude it explicitly.
|
||||||
|
--exclude-dir=devnotes
|
||||||
)
|
)
|
||||||
|
|
||||||
INCLUDES_CODE=(
|
INCLUDES_CODE=(
|
||||||
|
|||||||
Reference in New Issue
Block a user