summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2022-05-12 23:07:56 +0200
committerGitHub <noreply@github.com>2022-05-12 23:07:56 +0200
commit58bbe0f77a3cdd4e91d4af719208e324334a869f (patch)
tree7da71beaa802eeed8bd7acc28cfd49b167761eff /astroid/rebuilder.py
parent5e1a1b756482225bf293f5f4c3dfa3e508a50a89 (diff)
downloadastroid-git-58bbe0f77a3cdd4e91d4af719208e324334a869f.tar.gz
Update pylint to 2.14.0b1 (#1553)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r--astroid/rebuilder.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index e4c961b5..15c3b350 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -169,7 +169,6 @@ class TreeRebuilder:
else:
return None
- # pylint: disable=undefined-loop-variable
return Position(
lineno=node.lineno + start_token.start[0] - 1,
col_offset=start_token.start[1],
@@ -222,7 +221,6 @@ class TreeRebuilder:
else:
return
- # pylint: disable=undefined-loop-variable
node.doc_node.lineno = lineno + t.start[0] - 1
node.doc_node.col_offset = t.start[1]
node.doc_node.end_lineno = lineno + t.end[0] - 1