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