-
Notifications
You must be signed in to change notification settings - Fork 12
/
.mypy.ini
108 lines (81 loc) · 2.59 KB
/
.mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[mypy]
python_version = 3.11
color_output = true
error_summary = true
files =
src/,
tests/
check_untyped_defs = true
disallow_any_explicit = true
disallow_any_expr = true
disallow_any_decorated = true
disallow_any_generics = true
disallow_any_unimported = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
enable_error_code =
ignore-without-code
explicit_package_bases = true
extra_checks = true
follow_imports = normal
ignore_missing_imports = false
local_partial_types = true
mypy_path = ${MYPY_CONFIG_FILE_DIR}/src:${MYPY_CONFIG_FILE_DIR}/_type_stubs
namespace_packages = true
no_implicit_reexport = true
pretty = true
show_column_numbers = true
show_error_code_links = true
show_error_codes = true
show_error_context = true
show_error_end = true
# `strict` will pick up any future strictness-related settings:
strict = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[mypy-awx_plugins.credentials.aim]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.aws_secretsmanager]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.azure_kv]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.centrify_vault]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.conjur]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.dsv]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.hashivault]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.injectors]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.plugin]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.credentials.tss]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-awx_plugins.inventory.plugins]
# crashes with some decorators like `@functools.cache`:
disallow_any_expr = false
[mypy-tests.*]
# crashes with some decorators like `@pytest.mark.parametrize`:
disallow_any_expr = false
# fails on `@hypothesis.given()`:
disallow_any_decorated = false