Skip to content

Commit 5cefc2a

Browse files
committed
Ruff update and lint fixes
1 parent b2c4e72 commit 5cefc2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pytest-cov
33
pytest-mockito
44
robotstatuschecker
55
black >= 23.7.0
6-
ruff >= 0.0.286
6+
ruff >= 0.5.5
77
robotframework-tidy
88
invoke >= 2.2.0
99
twine

src/robotlibcore/core/hybrid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __get_members(self, component):
8888
raise TypeError(
8989
msg,
9090
)
91-
if type(component) != component.__class__:
91+
if type(component) is component.__class__:
9292
msg = (
9393
"Libraries must be modules or new-style class instances, "
9494
f"got old-style class {component.__class__.__name__} instead."

0 commit comments

Comments
 (0)