Skip to content

Commit

Permalink
Ruff update and lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Aug 2, 2024
1 parent b2c4e72 commit 5cefc2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pytest-cov
pytest-mockito
robotstatuschecker
black >= 23.7.0
ruff >= 0.0.286
ruff >= 0.5.5
robotframework-tidy
invoke >= 2.2.0
twine
Expand Down
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) != component.__class__:
if type(component) is component.__class__:
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 5cefc2a

Please sign in to comment.