We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b588fb3 + eae02cf commit ef1beb0Copy full SHA for ef1beb0
1 file changed
codespell_lib/_codespell.py
@@ -1178,8 +1178,7 @@ def build_file_list_with_os_walk(
1178
dirs[:] = [
1179
dir_
1180
for dir_ in dirs
1181
- if not glob_match.match(dir_)
1182
- and not is_hidden(dir_, check_hidden)
+ if not glob_match.match(dir_) and not is_hidden(dir_, check_hidden)
1183
]
1184
elif not glob_match.match(filename) and not is_hidden(filename, check_hidden):
1185
all_files.append(filename)
0 commit comments