Commit Diff


commit - f108d03fa12f3a69e0839fb366bd9eff71dfc9d2
commit + e5c7be56cc59dafcf217b91d9e1c54129d8f5144
blob - 93ac6d6a31f7190a2a9253b542b0b6c5d6a69c0e
blob + bb4215ea1f2906e20592677462f22f889d0d7900
--- .github/workflows/pythontest.yml
+++ .github/workflows/pythontest.yml
@@ -43,7 +43,7 @@ jobs:
           python -m ruff format --check .
       - name: Typing checks
         run: |
-          pip install --upgrade mypy types-paramiko types-requests
+          pip install --upgrade types-paramiko types-requests
           python -m mypy dulwich
         if: "matrix.python-version != 'pypy3'"
       - name: Build
blob - 016e70b7f508d521cca802883b38da50f1c59c20
blob + 1a7f1ef606ed5fb248a3af5e30f2bbd8d948fd23
--- dulwich/refs.py
+++ dulwich/refs.py
@@ -24,7 +24,7 @@
 import os
 import warnings
 from contextlib import suppress
-from typing import Any, Dict, Optional, Set, List, Tuple
+from typing import Any, Dict, List, Optional, Set, Tuple
 
 from .errors import PackedRefsException, RefFormatError
 from .file import GitFile, ensure_dir_exists
blob - dc05031da191a42d5bef36153a2399a196a8273b
blob + 518414d3d6ee7e1b06dcdaf75a9274c364e2405e
--- pyproject.toml
+++ pyproject.toml
@@ -42,7 +42,8 @@ https = ["urllib3>=1.24.1"]
 pgp = ["gpg"]
 paramiko = ["paramiko"]
 dev = [
-    "ruff==0.6.9"
+    "ruff==0.6.9",
+    "mypy==1.12.0"
 ]
 
 [project.scripts]