summaryrefslogtreecommitdiff
path: root/pylint/pyreverse/utils.py
diff options
context:
space:
mode:
authorpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>2021-09-28 08:06:32 +0200
committerGitHub <noreply@github.com>2021-09-28 08:06:32 +0200
commita602692aa169c2b1fb355ee67c8b67b6fb76f34e (patch)
treeafc3d406f2f7176555ce817e28c353fdd0f5aa00 /pylint/pyreverse/utils.py
parent5e24aaa4dde2e3f06027cd0e18fabd96e408f519 (diff)
downloadpylint-git-a602692aa169c2b1fb355ee67c8b67b6fb76f34e.tar.gz
[pre-commit.ci] pre-commit autoupdate (#5082)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/pyreverse/utils.py')
-rw-r--r--pylint/pyreverse/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py
index 904f6eacb..f6dafcbab 100644
--- a/pylint/pyreverse/utils.py
+++ b/pylint/pyreverse/utils.py
@@ -203,7 +203,7 @@ class LocalsVisitor(ASTWalker):
"""visit a project by traversing the locals dictionary"""
def __init__(self):
- ASTWalker.__init__(self, self)
+ super().__init__(self)
self._visited = set()
def visit(self, node):