diff options
author | jessebrennan <jesse@jesse.computer> | 2023-02-07 13:32:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 22:32:24 +0100 |
commit | 40f4247100f27eb3b9486894820cd1350155edea (patch) | |
tree | 0817c8a026eb0d4a385cdbc9b92be0a644755b22 /examples | |
parent | 08474328da03f8b11e3234642d566732b15632a7 (diff) | |
download | pylint-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.py | 2 |
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 |