We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef1beb0 commit c5de971Copy full SHA for c5de971
1 file changed
codespell_lib/_codespell.py
@@ -1153,7 +1153,7 @@ def build_file_list_with_os_walk(
1153
all_files = []
1154
for filename in files:
1155
# ignore hidden files
1156
- if is_hidden(root, check_hidden):
+ if is_hidden(filename, check_hidden):
1157
continue
1158
if os.path.isdir(filename):
1159
for root, dirs, dirfiles in os.walk(filename):
0 commit comments