diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-12-20 00:22:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 00:22:07 +0100 |
commit | c0aca2120deda6061a579630cd9cf2a9b537b6bc (patch) | |
tree | a7126f26f414ab74addb184f0d62e9c83b639100 | |
parent | dc1d7aad134859bbbabbe6592130935ce9b2133c (diff) | |
download | pylint-git-emacs-dangling-temporary-file.tar.gz |
Update pylint/lint/expand_modules.pyemacs-dangling-temporary-file
-rw-r--r-- | pylint/lint/expand_modules.py | 1 |
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 ( |