forked from Parsl/parsl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
140 lines (103 loc) · 3.06 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
[mypy]
plugins = sqlmypy
# globally disabled error codes:
# str-bytes-safe warns that a byte string is formatted into a string.
# which is commonly done with manager IDs in the parsl
# codebase.
disable_error_code = str-bytes-safe
no_implicit_reexport = True
warn_redundant_casts = True
no_implicit_optional = True
strict_equality = 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.providers.provider_base.*]
no_implicit_optional = True
disallow_untyped_decorators = True
warn_unused_ignores = True
check_untyped_defs = True
disallow_subclassing_any = True
warn_unreachable = True
disallow_untyped_defs = True
[mypy-parsl.executors.high_throughput.interchange.*]
check_untyped_defs = True
[mypy-parsl.monitoring.*]
no_implicit_optional = True
disallow_untyped_decorators = True
warn_unused_ignores = True
check_untyped_defs = True
disallow_subclassing_any = True
warn_unreachable = True
disallow_untyped_defs = True
[mypy-parsl.tests.configs.local_user_opts]
ignore_missing_imports = 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-work_queue.*]
ignore_missing_imports = True
[mypy-oauth_ssh.*]
ignore_missing_imports = True
[mypy-flux.*]
ignore_missing_imports = True
[mypy-setproctitle.*]
ignore_missing_imports = True