Selaa lähdekoodia

Add mypy configuration for sshsig library

Configure mypy to ignore missing type stubs for the sshsig library,
similar to how we handle other optional dependencies like fastimport
and patiencediff.
Jelmer Vernooij 3 viikkoa sitten
vanhempi
commit
4be8651fe2
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      pyproject.toml

+ 6 - 0
pyproject.toml

@@ -101,6 +101,12 @@ ignore_missing_imports = true
 disallow_untyped_calls = false
 warn_return_any = false
 
+[[tool.mypy.overrides]]
+module = "sshsig.*"
+ignore_missing_imports = true
+disallow_untyped_calls = false
+warn_return_any = false
+
 [tool.setuptools]
 packages = [
     "dulwich",