summaryrefslogtreecommitdiffstats
path: root/src/mypy.ini
blob: bd4b436b492666756134c55df6a0a1c56d8653e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[mypy]
strict_optional = True
no_implicit_optional = True
warn_incomplete_stub = True
check_untyped_defs = True
show_error_context = True
allow_redefinition = True
disallow_untyped_defs = True

[mypy-rados]
# This would require a rados.pyi file
ignore_missing_imports = True

[mypy-rbd]
# This would require a rbd.pyi file
ignore_missing_imports = True

[mypy-cephfs]
# This would require a cephfs.pyi file
ignore_missing_imports = True

# python-common
[mypy-ceph.tests.*]
ignore_errors = True

[mypy-ceph.rgw.*]
ignore_errors = True

# Make cephadm and rook happy
[mypy-OpenSSL]
ignore_missing_imports = True

[mypy-prettytable]
ignore_missing_imports = True

[mypy-jsonpatch]
ignore_missing_imports = True

[mypy-urllib3.*]
ignore_missing_imports = True

[mypy-asyncssh.*]
ignore_missing_imports = True

[mypy-kubernetes.*]
ignore_missing_imports = True


# Make dashboard happy:
[mypy-coverage]
ignore_missing_imports = True

[mypy-urlparse]
ignore_missing_imports = True

[mypy-cherrypy.*]
ignore_missing_imports = True

[mypy-bcrypt]
ignore_missing_imports = True

[mypy-influxdb.*]
ignore_missing_imports = True

[mypy-numpy.*]
ignore_missing_imports = True

[mypy-onelogin.*]
ignore_missing_imports = True

[mypy-scipy.*]
ignore_missing_imports = True

# Make volumes happy:
[mypy-StringIO]
ignore_missing_imports = True

[mypy-ceph_argparse]
# more work to do
ignore_errors = True

# MGR modules not yet completely annotated:

[mypy-balancer.*]
disallow_untyped_defs = False

[mypy-ceph_module]
disallow_untyped_defs = False

[mypy-dashboard.*]
disallow_untyped_defs = False

[mypy-influx.*]
disallow_untyped_defs = False

[mypy-mirroring.*]
disallow_untyped_defs = False

[mypy-progress.*]
disallow_untyped_defs = False

[mypy-rook.rook_client._helper]
disallow_untyped_defs = False

[mypy-stats.*]
disallow_untyped_defs = False

[mypy-test_orchestrator.*]
disallow_untyped_defs = False

[mypy-volumes.*]
disallow_untyped_defs = False