Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions astroid/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ def delayed_assattr(self, node: nodes.AssignAttr) -> None:
if isinstance(inferred, util.UninferableBase):
continue
try:
# pylint: disable=unidiomatic-typecheck # We want a narrow check on the
# parent type, not all of its subclasses
# We want a narrow check on the parent type, not all of its subclasses
if type(inferred) in {bases.Instance, objects.ExceptionInstance}:
inferred = inferred._proxied
iattrs = inferred.instance_attrs
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# Tools used during development, prefer running these with pre-commit
black
pre-commit
pylint>=3.2.0
pylint>=3.2.7
mypy
ruff
Loading