Skip to content

Commit 2fcf4ad

Browse files
easamoah7greenbonebot
authored andcommitted
Fix: fix error
1 parent 88d2a2b commit 2fcf4ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pontos/version/_version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ def __str__(self) -> str:
153153
# --- Added for Ruff PLW1641 compliance ---
154154
@abstractmethod
155155
def __hash__(self) -> int:
156-
pass
156+
raise NotImplementedError # pragma: no cover
157+
157158

158159
def __repr__(self) -> str:
159160
"""A representation of the Version"""

0 commit comments

Comments
 (0)