summaryrefslogtreecommitdiff
path: root/pylint/checkers/imports.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/imports.py')
-rw-r--r--pylint/checkers/imports.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py
index 02369a622..82ff07448 100644
--- a/pylint/checkers/imports.py
+++ b/pylint/checkers/imports.py
@@ -968,7 +968,7 @@ class ImportsChecker(BaseChecker):
for name in node.names
]
- # Get the full names of all the imports that are not whitelisted.
+ # Get the full names of all the imports that are only allowed at the module level
scoped_imports = [
name for name in module_names if name not in self._allow_any_import_level
]