summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pylint/lint/expand_modules.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/lint/expand_modules.py b/pylint/lint/expand_modules.py
index 69b066a8e..7a0dc7004 100644
--- a/pylint/lint/expand_modules.py
+++ b/pylint/lint/expand_modules.py
@@ -48,6 +48,7 @@ def expand_modules(
result: List[ModuleDescriptionDict] = []
errors: List[ErrorDescriptionDict] = []
path = sys.path.copy()
+
for something in files_or_modules:
basename = os.path.basename(something)
if (