Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPlayer3 committed Jan 7, 2025
1 parent 13d4c02 commit f92dcf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hyp3_sdk/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def __contains__(self, job: Job):

def __eq__(self, other: object) -> bool:
if not isinstance(other, Batch):
raise NotImplementedError(f'`__eq__` can only compare a Batch object with another Batch object.')
raise NotImplementedError('`__eq__` can only compare a Batch object with another Batch object.')
return self.jobs == other.jobs

def __delitem__(self, job: int):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_chunk():
chunks = list(util.chunk(items, n=-2))

with pytest.raises(ValueError):
chunks = list(util.chunk(items, n=10.0)) # type: ignore [arg-type]
chunks = list(util.chunk(items, n=10.0)) # type: ignore [arg-type]


def test_extract_zipped_product(product_zip):
Expand Down

0 comments on commit f92dcf4

Please sign in to comment.