Skip to content

Commit

Permalink
Merge pull request #8791 from python-pillow/renovate/mypy-1.x
Browse files Browse the repository at this point in the history
Update dependency mypy to v1.15.0
  • Loading branch information
hugovk authored Mar 3, 2025
2 parents 1a62ef9 + d627229 commit 4e550d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/requirements-mypy.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mypy==1.14.1
mypy==1.15.0
IceSpringPySideStubs-PyQt6
IceSpringPySideStubs-PySide6
ipython
Expand Down
2 changes: 1 addition & 1 deletion src/PIL/TiffImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def limit_rational(self, max_denominator: int) -> tuple[IntegralLike, int]:
def __repr__(self) -> str:
return str(float(self._val))

def __hash__(self) -> int:
def __hash__(self) -> int: # type: ignore[override]
return self._val.__hash__()

def __eq__(self, other: object) -> bool:
Expand Down

0 comments on commit 4e550d4

Please sign in to comment.