Ensure that *everything* is typed in community.crypto (#917)

* Ensure that *everything* is typed in community.crypto.

* Fix comment.

* Ignore type definitions/imports and AssertionErrors for code coverage.
This commit is contained in:
Felix Fontein
2025-06-09 10:10:19 +02:00
committed by GitHub
parent ec063d8515
commit d83a923325
73 changed files with 494 additions and 317 deletions

View File

@@ -416,7 +416,7 @@ def main() -> t.NoReturn:
)
dhparam = DHParameterCryptography(module)
else:
raise AssertionError("Internal error: unknown backend")
raise AssertionError("Internal error: unknown backend") # pragma: no cover
if module.check_mode:
result = dhparam.dump()