]>
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 | ||
a4b75251 TL |
37 | [mypy-nfs.*] |
38 | disallow_untyped_defs = True | |
39 | ||
f67539c2 TL |
40 | [mypy-orchestrator.*] |
41 | disallow_untyped_defs = True | |
42 | ||
43 | [mypy-prometheus.*] | |
44 | disallow_untyped_defs = True | |
45 | ||
522d829b TL |
46 | [mypy-pg_autoscaler.*] |
47 | disallow_untyped_defs = True | |
48 | ||
49 | [mypy-rbd_support.*] | |
50 | disallow_untyped_defs = True | |
51 | ||
52 | [mypy-rook.*] | |
53 | disallow_untyped_defs = True | |
54 | ||
55 | # external import | |
56 | [mypy-rook.rook_client.*] | |
57 | disallow_untyped_defs = False | |
58 | ||
f67539c2 TL |
59 | # Make cephadm and rook happy |
60 | [mypy-OpenSSL] | |
61 | ignore_missing_imports = True | |
62 | ||
63 | [mypy-prettytable] | |
64 | ignore_missing_imports = True | |
65 | ||
66 | [mypy-jsonpatch] | |
67 | ignore_missing_imports = True | |
68 | ||
69 | [mypy-urllib3.*] | |
70 | ignore_missing_imports = True | |
71 | ||
72 | [mypy-execnet.*] | |
73 | ignore_missing_imports = True | |
74 | ||
75 | [mypy-remoto.*] | |
76 | ignore_missing_imports = True | |
77 | ||
78 | [mypy-kubernetes.*] | |
79 | ignore_missing_imports = True | |
80 | ||
81 | ||
82 | # Make dashboard happy: | |
83 | [mypy-coverage] | |
84 | ignore_missing_imports = True | |
85 | ||
86 | [mypy-urlparse] | |
87 | ignore_missing_imports = True | |
88 | ||
89 | [mypy-cherrypy.*] | |
90 | ignore_missing_imports = True | |
91 | ||
92 | [mypy-cheroot.*] | |
93 | ignore_missing_imports = True | |
94 | ||
95 | [mypy-bcrypt] | |
96 | ignore_missing_imports = True | |
97 | ||
98 | [mypy-onelogin.*] | |
99 | ignore_missing_imports = True | |
100 | ||
101 | # Make volumes happy: | |
102 | [mypy-StringIO] | |
103 | ignore_missing_imports = True | |
104 | ||
105 | [mypy-ceph_argparse] | |
106 | # more work to do | |
107 | ignore_errors = True |