summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorjessebrennan <jesse@jesse.computer>2023-02-07 13:32:24 -0800
committerGitHub <noreply@github.com>2023-02-07 22:32:24 +0100
commit40f4247100f27eb3b9486894820cd1350155edea (patch)
tree0817c8a026eb0d4a385cdbc9b92be0a644755b22 /examples
parent08474328da03f8b11e3234642d566732b15632a7 (diff)
downloadpylint-git-40f4247100f27eb3b9486894820cd1350155edea.tar.gz
Don't use 'self.config' in examples since it's deprecated (#8227)
Diffstat (limited to 'examples')
-rw-r--r--examples/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom.py b/examples/custom.py
index 526f50ad9..003519a56 100644
--- a/examples/custom.py
+++ b/examples/custom.py
@@ -50,7 +50,7 @@ class MyAstroidChecker(BaseChecker):
if not (
isinstance(node.func, nodes.Attribute)
and isinstance(node.func.expr, nodes.Name)
- and node.func.expr.name == self.config.store_locals_indicator
+ and node.func.expr.name == self.linter.config.store_locals_indicator
and node.func.attrname == "create"
):
return