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