]>
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 | ||
43 | # Make cephadm and rook happy | |
44 | [mypy-OpenSSL] | |
45 | ignore_missing_imports = True | |
46 | ||
47 | [mypy-prettytable] | |
48 | ignore_missing_imports = True | |
49 | ||
50 | [mypy-jsonpatch] | |
51 | ignore_missing_imports = True | |
52 | ||
53 | [mypy-urllib3.*] | |
54 | ignore_missing_imports = True | |
55 | ||
56 | [mypy-execnet.*] | |
57 | ignore_missing_imports = True | |
58 | ||
59 | [mypy-remoto.*] | |
60 | ignore_missing_imports = True | |
61 | ||
62 | [mypy-kubernetes.*] | |
63 | ignore_missing_imports = True | |
64 | ||
65 | ||
66 | # Make dashboard happy: | |
67 | [mypy-coverage] | |
68 | ignore_missing_imports = True | |
69 | ||
70 | [mypy-urlparse] | |
71 | ignore_missing_imports = True | |
72 | ||
73 | [mypy-cherrypy.*] | |
74 | ignore_missing_imports = True | |
75 | ||
76 | [mypy-cheroot.*] | |
77 | ignore_missing_imports = True | |
78 | ||
79 | [mypy-bcrypt] | |
80 | ignore_missing_imports = True | |
81 | ||
82 | [mypy-onelogin.*] | |
83 | ignore_missing_imports = True | |
84 | ||
85 | # Make volumes happy: | |
86 | [mypy-StringIO] | |
87 | ignore_missing_imports = True | |
88 | ||
89 | [mypy-ceph_argparse] | |
90 | # more work to do | |
91 | ignore_errors = True |