Просмотр исходного кода

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 недель назад
Родитель
Сommit
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",