Skip to content

Commit

Permalink
Fix CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MJGaughran committed Aug 11, 2023
1 parent ed407af commit 7ecfc55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies = [
"numpy",
"pydantic",
"pvi",
"softioc",
] # Add project dependencies here, e.g. ["click", "numpy"]
dynamic = ["version"]
license.file = "LICENSE"
Expand Down
1 change: 0 additions & 1 deletion src/fastcs/cs_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def __init__(self, method_type: MethodType, fn: Callable, **kwargs) -> None:
self.kwargs = kwargs

Check warning on line 23 in src/fastcs/cs_methods.py

View check run for this annotation

Codecov / codecov/patch

src/fastcs/cs_methods.py#L23

Added line #L23 was not covered by tests

def _validate_method(self, type: MethodType, fn: Callable) -> None:

if self.return_type not in (None, Signature.empty):
raise FastCSException("Method return type must be None or empty")

Check warning on line 27 in src/fastcs/cs_methods.py

View check run for this annotation

Codecov / codecov/patch

src/fastcs/cs_methods.py#L26-L27

Added lines #L26 - L27 were not covered by tests

Expand Down

0 comments on commit 7ecfc55

Please sign in to comment.