Skip to content

Commit c5de971

Browse files
committed
Correct variable arg to is_hidden
1 parent ef1beb0 commit c5de971

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codespell_lib/_codespell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ def build_file_list_with_os_walk(
11531153
all_files = []
11541154
for filename in files:
11551155
# ignore hidden files
1156-
if is_hidden(root, check_hidden):
1156+
if is_hidden(filename, check_hidden):
11571157
continue
11581158
if os.path.isdir(filename):
11591159
for root, dirs, dirfiles in os.walk(filename):

0 commit comments

Comments
 (0)