Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 28, 2022
1 parent aac4fd4 commit a0cac85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Release date: TBA

Closes #1330

* Introduce `qname` method for `AssignAttr` nodes for cases where they are treated
* Introduce `qname` method for `AssignAttr` nodes for cases where they are treated
as Class definitions to fix a crash while inferring them as modules.

What's New in astroid 2.9.4?
Expand Down
1 change: 1 addition & 0 deletions astroid/nodes/node_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@ def qname(self):
names.append(cur.name)
return ".".join(reversed(names))


class Assert(Statement):
"""Class representing an :class:`ast.Assert` node.
Expand Down

0 comments on commit a0cac85

Please sign in to comment.