mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-15 19:58:28 +00:00
Re-enable typing and improve config.
This commit is contained in:
parent
24f35644e3
commit
c4e0215db9
@ -18,6 +18,14 @@
|
||||
# ansible-core has partial typing information
|
||||
follow_untyped_imports = True
|
||||
|
||||
[mypy-docker.*]
|
||||
# Docker SDK for Python has partial typing information
|
||||
follow_untyped_imports = True
|
||||
|
||||
[mypy-ansible_collections.community.internal_test_tools.*]
|
||||
# community.internal_test_tools has no typing information
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-jsondiff.*]
|
||||
# jsondiff has no typing information
|
||||
ignore_missing_imports = True
|
||||
|
||||
@ -27,7 +27,7 @@ run_yamllint = true
|
||||
yamllint_config = ".yamllint"
|
||||
yamllint_config_plugins = ".yamllint-docs"
|
||||
yamllint_config_plugins_examples = ".yamllint-examples"
|
||||
run_mypy = false
|
||||
run_mypy = true
|
||||
mypy_ansible_core_package = "ansible-core>=2.19.0"
|
||||
mypy_config = ".mypy.ini"
|
||||
mypy_extra_deps = [
|
||||
@ -35,7 +35,11 @@ mypy_extra_deps = [
|
||||
"paramiko",
|
||||
"urllib3",
|
||||
"requests",
|
||||
"types-mock",
|
||||
"types-paramiko",
|
||||
"types-pywin32",
|
||||
"types-PyYAML",
|
||||
"types-requests",
|
||||
]
|
||||
|
||||
[sessions.docs_check]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user