Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rouk1 committed Feb 4, 2025
1 parent 36acb11 commit 8c7a889
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion skore/src/skore/persistence/item/primitive_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@ def factory(cls, primitive: Primitive, /, **kwargs) -> PrimitiveItem:
raise ItemTypeError(f"Type '{primitive.__class__}' is not supported.")

return cls(primitive=primitive, **kwargs)

2 changes: 0 additions & 2 deletions skore/tests/unit/item/test_altair_chart_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ def test_chart(self):
# Altair strict equality doesn't work
assert item1.chart.to_json() == chart_str
assert item2.chart.to_json() == chart_str


1 change: 0 additions & 1 deletion skore/tests/unit/item/test_pickle_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ def test_object(self, mock_nowstr):

assert item1.object is int
assert item2.object is int

2 changes: 0 additions & 2 deletions skore/tests/unit/item/test_primitive_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ def test_factory_exception(self):

with pytest.raises(ItemTypeError):
PrimitiveItem.factory("<content>")


0 comments on commit 8c7a889

Please sign in to comment.