Skip to content

Commit 582d526

Browse files
committed
Remove 'whitelist' term in imports checker
Replace usage of a whitelist mention in a checkers.imports comment.
1 parent ac79ddd commit 582d526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ def _check_toplevel(self, node):
968968
for name in node.names
969969
]
970970

971-
# Get the full names of all the imports that are not whitelisted.
971+
# Get the full names of all the imports that are only allowed at the module level
972972
scoped_imports = [
973973
name for name in module_names if name not in self._allow_any_import_level
974974
]

0 commit comments

Comments
 (0)