diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2023-02-23 22:05:19 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-23 22:05:19 +0000 |
| commit | 27352c2bf9c1b3795e599ae63b1ead32a0522bc8 (patch) | |
| tree | 3109efc3ba04dfb542328656c962f5e74e93416a /astroid/nodes/node_classes.py | |
| parent | 6f74553782e26c81d441ed1ccf4f31cf34997329 (diff) | |
| download | astroid-git-27352c2bf9c1b3795e599ae63b1ead32a0522bc8.tar.gz | |
Bump flake8-bugbear from 23.1.20 to 23.2.13 (#2034)
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'astroid/nodes/node_classes.py')
| -rw-r--r-- | astroid/nodes/node_classes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/astroid/nodes/node_classes.py b/astroid/nodes/node_classes.py index 4611d86d..4a3cc7c3 100644 --- a/astroid/nodes/node_classes.py +++ b/astroid/nodes/node_classes.py @@ -3213,6 +3213,7 @@ class If(_base_nodes.MultiLineWithElseBlockNode, _base_nodes.Statement): "It has been moved to pylint and can be imported from 'pylint.checkers.utils' " "starting with pylint 2.12", DeprecationWarning, + stacklevel=2, ) if isinstance(self.test, Compare): value = self.test.left @@ -3240,6 +3241,7 @@ class If(_base_nodes.MultiLineWithElseBlockNode, _base_nodes.Statement): "It has been moved to pylint and can be imported from 'pylint.checkers.utils' " "starting with pylint 2.12", DeprecationWarning, + stacklevel=2, ) return isinstance( self.test, (Name, Attribute) |
