]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | [mypy] |
2 | strict_optional = True | |
3 | no_implicit_optional = True | |
9f95a23c TL |
4 | warn_incomplete_stub = True |
5 | check_untyped_defs = True | |
6 | show_error_context = True | |
f67539c2 TL |
7 | allow_redefinition = True |
8 | ||
9 | [mypy-rados] | |
10 | # This would require a rados.pyi file | |
11 | ignore_missing_imports = True | |
12 | ||
13 | [mypy-rbd] | |
14 | # This would require a rbd.pyi file | |
15 | ignore_missing_imports = True | |
16 | ||
17 | [mypy-cephfs] | |
18 | # This would require a cephfs.pyi file | |
19 | ignore_missing_imports = True | |
20 | ||
21 | # python-common | |
22 | [mypy-ceph.*] | |
23 | disallow_untyped_defs = True | |
24 | [mypy-ceph.tests.*] | |
25 | disallow_untyped_defs = False | |
26 | ignore_errors = True | |
27 | ||
28 | [mypy-mgr_util] | |
29 | disallow_untyped_defs = True | |
f91f0fd5 | 30 | |
adb31ebb | 31 | [mypy-cephadm.*] |
f91f0fd5 TL |
32 | disallow_untyped_defs = True |
33 | ||
f67539c2 TL |
34 | [mypy-devicehealth.*] |
35 | disallow_untyped_defs = True | |
36 | ||
37 | [mypy-orchestrator.*] | |
38 | disallow_untyped_defs = True | |
39 | ||
40 | [mypy-prometheus.*] | |
41 | disallow_untyped_defs = True | |
42 | ||
522d829b TL |
43 | [mypy-pg_autoscaler.*] |
44 | disallow_untyped_defs = True | |
45 | ||
46 | [mypy-rbd_support.*] | |
47 | disallow_untyped_defs = True | |
48 | ||
49 | [mypy-rook.*] | |
50 | disallow_untyped_defs = True | |
51 | ||
52 | # external import | |
53 | [mypy-rook.rook_client.*] | |
54 | disallow_untyped_defs = False | |
55 | ||
f67539c2 TL |
56 | # Make cephadm and rook happy |
57 | [mypy-OpenSSL] | |
58 | ignore_missing_imports = True | |
59 | ||
60 | [mypy-prettytable] | |
61 | ignore_missing_imports = True | |
62 | ||
63 | [mypy-jsonpatch] | |
64 | ignore_missing_imports = True | |
65 | ||
66 | [mypy-urllib3.*] | |
67 | ignore_missing_imports = True | |
68 | ||
69 | [mypy-execnet.*] | |
70 | ignore_missing_imports = True | |
71 | ||
72 | [mypy-remoto.*] | |
73 | ignore_missing_imports = True | |
74 | ||
75 | [mypy-kubernetes.*] | |
76 | ignore_missing_imports = True | |
77 | ||
78 | ||
79 | # Make dashboard happy: | |
80 | [mypy-coverage] | |
81 | ignore_missing_imports = True | |
82 | ||
83 | [mypy-urlparse] | |
84 | ignore_missing_imports = True | |
85 | ||
86 | [mypy-cherrypy.*] | |
87 | ignore_missing_imports = True | |
88 | ||
89 | [mypy-cheroot.*] | |
90 | ignore_missing_imports = True | |
91 | ||
92 | [mypy-bcrypt] | |
93 | ignore_missing_imports = True | |
94 | ||
95 | [mypy-onelogin.*] | |
96 | ignore_missing_imports = True | |
97 | ||
98 | # Make volumes happy: | |
99 | [mypy-StringIO] | |
100 | ignore_missing_imports = True | |
101 | ||
102 | [mypy-ceph_argparse] | |
103 | # more work to do | |
104 | ignore_errors = True |