summaryrefslogtreecommitdiff
path: root/astroid
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-21 19:01:08 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-21 20:16:51 +0200
commit76b96a1ff6cc45d7316a4bfef540d982f8a2e8eb (patch)
tree6d9f52b779db9b52f8f45e020bd8b600476a738b /astroid
parent233bd6d4b367726b13534496850a340e72ebc861 (diff)
downloadastroid-git-76b96a1ff6cc45d7316a4bfef540d982f8a2e8eb.tar.gz
Add a disable method might be static in a Visitor
Diffstat (limited to 'astroid')
-rw-r--r--astroid/rebuilder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index b3a95a67..864158ff 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -83,7 +83,9 @@ T_For = TypeVar("T_For", nodes.For, nodes.AsyncFor)
T_With = TypeVar("T_With", nodes.With, nodes.AsyncWith)
+# noinspection PyMethodMayBeStatic
class TreeRebuilder:
+ # pylint: disable=no-self-use
"""Rebuilds the _ast tree to become an Astroid tree"""
def __init__(