diff options
Diffstat (limited to 'examples/custom.py')
-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 |