Skip to content

Commit

Permalink
chore: no cover for evolve
Browse files Browse the repository at this point in the history
  • Loading branch information
supersergiy committed Aug 1, 2023
1 parent 02e3fc4 commit bcdee56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zetta_utils/layer/layer_set/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def name(self) -> str:
return f"LayerSet[f{'_'.join(self.layers.keys())}]"

Check warning on line 29 in zetta_utils/layer/layer_set/backend.py

View check run for this annotation

Codecov / codecov/patch

zetta_utils/layer/layer_set/backend.py#L29

Added line #L29 was not covered by tests

def with_changes(self, **kwargs) -> LayerSetBackend[IndexT, DataT]:
return attrs.evolve(self, **kwargs)
return attrs.evolve(self, **kwargs) # pragma: no cover
2 changes: 1 addition & 1 deletion zetta_utils/layer/volumetric/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_chunk_aligned_index(
"""

def with_changes(self, **kwargs) -> VolumetricBackend[DataT]:
return attrs.evolve(self, **kwargs)
return attrs.evolve(self, **kwargs) # pragma: no cover

@abstractmethod
def assert_idx_is_chunk_aligned(self, idx: VolumetricIndex) -> None:
Expand Down
2 changes: 1 addition & 1 deletion zetta_utils/layer/volumetric/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ def with_changes(
self,
**kwargs,
):
return attrs.evolve(self, **kwargs)
return attrs.evolve(self, **kwargs) # pragma: no cover

0 comments on commit bcdee56

Please sign in to comment.