Skip to content

Commit ac79ddd

Browse files
committed
Remove 'whitelist' term in python3 checker
Replace usage of a whitelist parameter in checkers.python3.
1 parent 8f6214d commit ac79ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylint/checkers/python3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def _inferred_value_is_dict(value):
7272
return isinstance(value, astroid.Instance) and "dict" in value.basenames
7373

7474

75-
def _infer_if_relevant_attr(node, whitelist):
76-
return node.expr.infer() if node.attrname in whitelist else []
75+
def _infer_if_relevant_attr(node, relevant_attrs):
76+
return node.expr.infer() if node.attrname in relevant_attrs else []
7777

7878

7979
def _is_builtin(node):

0 commit comments

Comments
 (0)