Преглед изворни кода

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 пре 2 недеља
родитељ
комит
d4d0c6c774
1 измењених фајлова са 6 додато и 0 уклоњено
  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",