Skip to content

Commit

Permalink
Add ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Aug 2, 2024
1 parent bbba333 commit fbe96f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robotlibcore/core/hybrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __get_members(self, component):
raise TypeError(
msg,
)
if type(component) is component.__class__:
if type(component) != component.__class__: # noqa: E721
msg = (
"Libraries must be modules or new-style class instances, "
f"got old-style class {component.__class__.__name__} instead."
Expand Down

0 comments on commit fbe96f1

Please sign in to comment.