Skip to content

Commit

Permalink
Make type-checking happy
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Jan 7, 2025
1 parent 9bc0f9b commit 9c828ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dodal/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ def is_v2_device_type(obj: type[Any]) -> bool:
# when inspecting device_factory decorator function itself
# Later versions of Python seem not to be affected
pass

Check warning on line 440 in src/dodal/utils.py

View check run for this annotation

Codecov / codecov/patch

src/dodal/utils.py#L440

Added line #L440 was not covered by tests
else:
return False

return False


def is_v1_device_type(obj: type[Any]) -> bool:
Expand Down

0 comments on commit 9c828ca

Please sign in to comment.