diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-01-10 23:06:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 23:06:30 +0100 |
commit | f3ece3f3a97ca8905f57f024de3b7d037b6da0f8 (patch) | |
tree | ee5aa51dafc44a6e6b1299b0dc50f4cbf7c70458 /examples | |
parent | 3ad42a05634d6913f57c7d65741bdbdb7b1ffc48 (diff) | |
download | pylint-git-f3ece3f3a97ca8905f57f024de3b7d037b6da0f8.tar.gz |
Add ``future=True`` to all ``NodeNG.frame`` calls (#5621)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
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 d4376fc4e..d7757dc78 100644 --- a/examples/custom.py +++ b/examples/custom.py @@ -61,7 +61,7 @@ class MyAstroidChecker(BaseChecker): and node.func.attrname == "create" ): return - in_class = node.frame() + in_class = node.frame(future=True) for param in node.args: in_class.locals[param.name] = node |