Skip to content

Commit b161058

Browse files
Avoid deprecated self.config access
1 parent fdc1e90 commit b161058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/method_args.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def visit_call(self, node: nodes.Call) -> None:
6969
if (
7070
inferred
7171
and not call_site.has_invalid_keywords()
72-
and inferred.qname() in self.config.timeout_methods
72+
and inferred.qname() in self.linter.config.timeout_methods
7373
):
7474
keyword_arguments = [keyword.arg for keyword in node.keywords]
7575
keyword_arguments.extend(call_site.keyword_arguments)

0 commit comments

Comments
 (0)