Skip to content

Commit bcfdd9b

Browse files
committed
fix(expand_modules): pass ignore_list to modutils.get_module_files
1 parent eade69e commit bcfdd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/lint/expand_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def expand_modules(
150150
)
151151
if has_init or is_namespace or is_directory:
152152
for subfilepath in modutils.get_module_files(
153-
os.path.dirname(filepath) or ".", [], list_all=is_namespace
153+
os.path.dirname(filepath) or ".", ignore_list, list_all=is_namespace
154154
):
155155
subfilepath = os.path.normpath(subfilepath)
156156
if filepath == subfilepath:

0 commit comments

Comments
 (0)