diff options
author | Peter Kolbus <peter.kolbus@gmail.com> | 2020-11-29 07:57:39 -0600 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-09 09:13:05 +0100 |
commit | c25e942e249199199a6a582b266c08a666b9090e (patch) | |
tree | fe9ae80c17933c013af846e6f0aae5b55bf65be8 | |
parent | 1e1c0c05b077eb75c8e36a3be924582fcb6b6854 (diff) | |
download | pylint-git-c25e942e249199199a6a582b266c08a666b9090e.tar.gz |
Remove 'whitelist' term in imports checker
Replace usage of a whitelist mention in a checkers.imports comment.
-rw-r--r-- | pylint/checkers/imports.py | 2 |
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 ] |