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

@@ -4,7 +4,7 @@
[mypy]
check_untyped_defs = True
# disallow_untyped_defs = True -- not yet feasible
disallow_untyped_defs = True
# strict = True -- only try to enable once everything (including dependencies!) is typed
strict_equality = True
@@ -15,8 +15,7 @@ warn_redundant_casts = True
warn_unreachable = True
[mypy-ansible.*]
# ansible-core has no typing information
# ignore_missing_imports = True
# ansible-core has partial typing information
follow_untyped_imports = True
[mypy-ansible_collections.community.internal_test_tools.*]