Skip to content

Commit

Permalink
Bump mypy to 1.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Dec 24, 2024
1 parent f07989a commit 8f9ed79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dulwich/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def raw_length(self) -> int:
"""Returns the length of the raw string of this object."""
return sum(map(len, self.as_raw_chunks()))

def sha(self) -> "HASH":
def sha(self) -> FixedSha | "HASH":
"""The SHA1 object that is the name of this object."""
if self._sha is None or self._needs_serialization:
# this is a local because as_raw_chunks() overwrites self._sha
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pgp = ["gpg"]
paramiko = ["paramiko"]
dev = [
"ruff==0.8.4",
"mypy==1.13.0"
"mypy==1.14.0"
]

[project.scripts]
Expand Down

0 comments on commit 8f9ed79

Please sign in to comment.