Skip to content

Commit

Permalink
RF+ENH: discover files to skip through searching in subfolders too, i…
Browse files Browse the repository at this point in the history
…gnore css etc automagically
  • Loading branch information
yarikoptic committed Nov 3, 2023
1 parent c849286 commit 1733b38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions codespellit
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ else
fi

skips=".git,*.pdf,*.svg"
for d in venv .venv venvs .tox versioneer.py package-lock.json *.lock; do
if [ -e "$d" ]; then
skips+=",$d"
for f in venv .venv venvs .tox versioneer.py package-lock.json '*.lock' '*.css' '*.min.*' '*.niml'; do
if find . -iname "$f" -print -quit | grep -q .; then
skips+=",$f"
fi
done

Expand Down

0 comments on commit 1733b38

Please sign in to comment.