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