forked from aio-libs/multidict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mypy.ini
126 lines (109 loc) · 2.24 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[mypy]
files =
docs/,
tests/
check_untyped_defs = True
# Causes comparison errors with Dict.
disable_error_code = comparison-overlap
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 = redundant-expr, truthy-bool, ignore-without-code, unused-awaitable
follow_imports_for_stubs = True
implicit_reexport = False
no_implicit_optional = True
pretty = True
show_column_numbers = True
show_error_codes = True
strict_equality = True
warn_incomplete_stub = True
warn_redundant_casts = True
warn_unreachable = True
warn_unused_ignores = True
warn_return_any = True
[mypy-multidict._abc]
disable_error_code =
misc,
no-untyped-def,
type-arg,
[mypy-multidict._multidict_py]
disable_error_code =
attr-defined,
has-type,
ignore-without-code,
no-untyped-call,
no-untyped-def,
type-arg,
var-annotated,
[mypy-conftest]
disable_error_code =
attr-defined,
misc,
no-any-return,
no-redef,
no-untyped-def,
type-arg,
var-annotated,
[mypy-gen_pickles]
disable_error_code =
attr-defined,
no-untyped-call,
no-untyped-def,
[mypy-test_abc]
disable_error_code =
no-untyped-call,
no-untyped-def,
type-arg,
[mypy-test_copy]
disable_error_code =
no-untyped-def,
[mypy-test_guard]
disable_error_code =
call-arg,
index,
[mypy-test_multidict]
disable_error_code = call-arg
[mypy-test_mutable_multidict]
disable_error_code =
arg-type,
assignment,
attr-defined,
call-arg,
index,
[mypy-test_mypy]
disable_error_code =
[mypy-test_pickle]
disable_error_code =
no-untyped-def,
[mypy-test_types]
disable_error_code =
attr-defined,
misc,
no-untyped-def,
[mypy-test_update]
disable_error_code =
attr-defined,
call-arg,
operator,
[mypy-test_version]
disable_error_code =
attr-defined,
index,
no-untyped-def,
type-arg,
[mypy-alabaster]
ignore_missing_imports = True
# [mypy-sphinxcontrib.towncrier.*]
[mypy-sphinxcontrib]
ignore_missing_imports = True
[mypy-sphinxcontrib.spelling]
ignore_missing_imports = True
[mypy-sphinxcontrib.spelling.*]
ignore_missing_imports = True
[mypy-conf]
disallow_any_unimported = False