From c25e942e249199199a6a582b266c08a666b9090e Mon Sep 17 00:00:00 2001 From: Peter Kolbus Date: Sun, 29 Nov 2020 07:57:39 -0600 Subject: Remove 'whitelist' term in imports checker Replace usage of a whitelist mention in a checkers.imports comment. --- pylint/checkers/imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] -- cgit v1.2.1