forked from CCCHH/ansible-infra
Vendor Galaxy Roles and Collections
This commit is contained in:
parent
c1e1897cda
commit
2aed20393f
3553 changed files with 387444 additions and 2 deletions
27
ansible_collections/community/docker/.mypy.ini
Normal file
27
ansible_collections/community/docker/.mypy.ini
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
[mypy]
|
||||
check_untyped_defs = True
|
||||
disallow_untyped_defs = True
|
||||
|
||||
# strict = True -- only try to enable once everything (including dependencies!) is typed
|
||||
strict_equality = True
|
||||
strict_bytes = True
|
||||
|
||||
warn_redundant_casts = True
|
||||
# warn_return_any = True
|
||||
warn_unreachable = True
|
||||
|
||||
[mypy-ansible.*]
|
||||
# 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-jsondiff.*]
|
||||
# jsondiff has no typing information
|
||||
ignore_missing_imports = True
|
||||
Loading…
Add table
Add a link
Reference in a new issue