Skip to content
Commit b91f7c76 authored by Philipp Hahn's avatar Philipp Hahn
Browse files

Skip directories early

The current code already allows skipping directories, but the full path
must be given, e.g. "./.git" instead of just ".git", as "codespell ." is
the default.

As the name of the directory is constant for all files within, move the
check for the directory before the loop.

Also skip descending.
parent b04564dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment