forked from Parsl/parsl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
208 lines (152 loc) · 4.5 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
[mypy]
plugins = sqlalchemy.ext.mypy.plugin
enable_error_code = ignore-without-code
no_implicit_reexport = True
warn_redundant_casts = True
no_implicit_optional = True
strict_equality = True
warn_unused_ignores = True
warn_unreachable = True
[mypy-non_existent.*]
ignore_missing_imports = True
# some subpackages in parsl are fully typed and should be checked with much
# stricter type checking options - a longer term goal might be for all of
# parsl to be checked that way, so these options could be default instead of
# listed per package; but unless/until that happens, the more-strictly-checked
# code should be listed here:
[mypy-parsl.addresses.*]
disallow_untyped_defs = True
disallow_any_decorated = True
[mypy-parsl.app.app.*]
disallow_untyped_defs = True
[mypy-parsl.dataflow.errors.*]
disallow_untyped_defs = True
disallow_any_expr = True
disallow_any_decorated = True
[mypy-parsl.dataflow.futures.*]
disallow_untyped_defs = True
disallow_any_decorated = True
[mypy-parsl.dataflow.memoization.*]
disallow_untyped_defs = True
[mypy-parsl.dataflow.rundirs.*]
disallow_untyped_defs = True
disallow_any_expr = True
disallow_any_decorated = True
[mypy-parsl.dataflow.states.*]
disallow_untyped_defs = True
disallow_any_expr = True
disallow_any_decorated = True
[mypy-parsl.dataflow.taskrecord.*]
disallow_untyped_defs = True
disallow_any_expr = True
disallow_any_decorated = True
[mypy-parsl.jobs.*]
disallow_untyped_defs = True
[mypy-parsl.providers.base.*]
disallow_untyped_decorators = True
check_untyped_defs = True
disallow_subclassing_any = True
disallow_untyped_defs = True
[mypy-parsl.serialize.*]
disallow_untyped_decorators = True
check_untyped_defs = True
disallow_subclassing_any = True
disallow_untyped_defs = True
[mypy-parsl.serialize.proxystore.*]
# parsl/serialize/proxystore.py:9: error: Class cannot subclass "Pickler" (has type "Any")
disallow_subclassing_any = False
[mypy-parsl.executors.base.*]
disallow_untyped_defs = True
disallow_any_expr = True
[mypy-parsl.executors.high_throughput.interchange.*]
disallow_untyped_defs = True
[mypy-parsl.monitoring.*]
disallow_untyped_decorators = True
check_untyped_defs = True
disallow_subclassing_any = True
disallow_untyped_defs = True
# visualization typechecks much less well than the rest of monitoring,
# so reduce strictness for the visualization subtree.
[mypy-parsl.monitoring.visualization.*]
ignore_errors = True
[mypy-parsl.tests.configs.local_user_opts]
ignore_missing_imports = True
[mypy-parsl.usage_tracking]
check_untyped_defs = True
disallow_subclassing_any = True
disallow_untyped_decorators = True
disallow_untyped_defs = True
warn_unreachable = True
[mypy-parsl.utils]
disallow_untyped_defs = True
[mypy-flask_sqlalchemy.*]
ignore_missing_imports = True
[mypy-networkx.*]
ignore_missing_imports = True
[mypy-_pytest.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-dill.*]
ignore_missing_imports = True
[mypy-copyreg.*]
ignore_missing_imports = True
[mypy-tblib.*]
ignore_missing_imports = True
[mypy-globus_sdk.*]
ignore_missing_imports = True
[mypy-psutil.*]
ignore_missing_imports = True
[mypy-cPickle.*]
ignore_missing_imports = True
[mypy-copy_reg.*]
ignore_missing_imports = True
[mypy-ipyparallel.*]
ignore_missing_imports = True
[mypy-ipython_genutils.*]
ignore_missing_imports = True
[mypy-cmreslogging.handlers.*]
ignore_missing_imports = True
[mypy-kubernetes.*]
ignore_missing_imports = True
[mypy-azure.*]
ignore_missing_imports = True
[mypy-msrestazure.*]
ignore_missing_imports = True
[mypy-googleapiclient.*]
ignore_missing_imports = True
[mypy-boto3.*]
ignore_missing_imports = True
[mypy-botocore.*]
ignore_missing_imports = True
[mypy-zmq.*]
ignore_missing_imports = True
[mypy-mpi4py.*]
ignore_missing_imports = True
[mypy-flask.*]
ignore_missing_imports = True
# this is an internal undocumentated package
# of multiprocessing - trying to get Event
# to typecheck in monitoring, but it's not
# a top level class as far as mypy is concerned.
# but... when commented out seems ok?
# so lets see when happens when I try to merge
# in clean CI
#[mypy-multiprocessing.synchronization.*]
#ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-ndcctools.*]
ignore_missing_imports = True
[mypy-work_queue.*]
ignore_missing_imports = True
[mypy-radical.*]
ignore_missing_imports = True
[mypy-oauth_ssh.*]
ignore_missing_imports = True
[mypy-flux.*]
ignore_missing_imports = True
[mypy-setproctitle.*]
ignore_missing_imports = True
[mypy-proxystore.*]
ignore_missing_imports = True