]> git.proxmox.com Git - ceph.git/blob - ceph/src/mypy.ini
update ceph source to reef 18.2.0
[ceph.git] / ceph / src / mypy.ini
1 [mypy]
2 strict_optional = True
3 no_implicit_optional = True
4 warn_incomplete_stub = True
5 check_untyped_defs = True
6 show_error_context = True
7 allow_redefinition = True
8 disallow_untyped_defs = True
9
10 [mypy-rados]
11 # This would require a rados.pyi file
12 ignore_missing_imports = True
13
14 [mypy-rbd]
15 # This would require a rbd.pyi file
16 ignore_missing_imports = True
17
18 [mypy-cephfs]
19 # This would require a cephfs.pyi file
20 ignore_missing_imports = True
21
22 # python-common
23 [mypy-ceph.tests.*]
24 ignore_errors = True
25
26 [mypy-ceph.rgw.*]
27 ignore_errors = True
28
29 # Make cephadm and rook happy
30 [mypy-OpenSSL]
31 ignore_missing_imports = True
32
33 [mypy-prettytable]
34 ignore_missing_imports = True
35
36 [mypy-jsonpatch]
37 ignore_missing_imports = True
38
39 [mypy-urllib3.*]
40 ignore_missing_imports = True
41
42 [mypy-asyncssh.*]
43 ignore_missing_imports = True
44
45 [mypy-kubernetes.*]
46 ignore_missing_imports = True
47
48
49 # Make dashboard happy:
50 [mypy-coverage]
51 ignore_missing_imports = True
52
53 [mypy-urlparse]
54 ignore_missing_imports = True
55
56 [mypy-cherrypy.*]
57 ignore_missing_imports = True
58
59 [mypy-bcrypt]
60 ignore_missing_imports = True
61
62 [mypy-influxdb.*]
63 ignore_missing_imports = True
64
65 [mypy-numpy.*]
66 ignore_missing_imports = True
67
68 [mypy-onelogin.*]
69 ignore_missing_imports = True
70
71 [mypy-scipy.*]
72 ignore_missing_imports = True
73
74 # Make volumes happy:
75 [mypy-StringIO]
76 ignore_missing_imports = True
77
78 [mypy-ceph_argparse]
79 # more work to do
80 ignore_errors = True
81
82 # MGR modules not yet completely annotated:
83
84 [mypy-balancer.*]
85 disallow_untyped_defs = False
86
87 [mypy-ceph_module]
88 disallow_untyped_defs = False
89
90 [mypy-dashboard.*]
91 disallow_untyped_defs = False
92
93 [mypy-influx.*]
94 disallow_untyped_defs = False
95
96 [mypy-mirroring.*]
97 disallow_untyped_defs = False
98
99 [mypy-progress.*]
100 disallow_untyped_defs = False
101
102 [mypy-rook.rook_client._helper]
103 disallow_untyped_defs = False
104
105 [mypy-stats.*]
106 disallow_untyped_defs = False
107
108 [mypy-test_orchestrator.*]
109 disallow_untyped_defs = False
110
111 [mypy-volumes.*]
112 disallow_untyped_defs = False