2019-05-28 11:32:31 +00:00
|
|
|
[mypy]
|
|
|
|
strict_optional = True
|
|
|
|
no_implicit_optional = True
|
|
|
|
warn_incomplete_stub = True
|
|
|
|
check_untyped_defs = True
|
|
|
|
show_error_context = True
|
2020-12-27 04:47:02 +00:00
|
|
|
allow_redefinition = True
|
2021-08-02 17:04:07 +00:00
|
|
|
disallow_untyped_defs = True
|
2020-06-22 08:27:39 +00:00
|
|
|
|
|
|
|
[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
|
|
|
|
|
2021-02-01 16:08:28 +00:00
|
|
|
# python-common
|
|
|
|
[mypy-ceph.tests.*]
|
|
|
|
ignore_errors = True
|
|
|
|
|
2021-11-24 20:51:12 +00:00
|
|
|
[mypy-ceph.rgw.*]
|
|
|
|
ignore_errors = True
|
|
|
|
|
2020-06-22 08:27:39 +00:00
|
|
|
# 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
|
|
|
|
|
2021-07-21 03:46:41 +00:00
|
|
|
[mypy-asyncssh.*]
|
2020-06-22 08:27:39 +00:00
|
|
|
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
|
|
|
|
|
2021-02-22 03:45:30 +00:00
|
|
|
[mypy-influxdb.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
2021-02-20 05:17:53 +00:00
|
|
|
[mypy-numpy.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
2020-06-22 08:27:39 +00:00
|
|
|
[mypy-onelogin.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
2021-02-20 05:17:53 +00:00
|
|
|
[mypy-scipy.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
2020-06-22 08:27:39 +00:00
|
|
|
# Make volumes happy:
|
|
|
|
[mypy-StringIO]
|
2020-12-26 12:26:55 +00:00
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
[mypy-ceph_argparse]
|
|
|
|
# more work to do
|
|
|
|
ignore_errors = True
|
2021-08-02 17:04:07 +00:00
|
|
|
|
|
|
|
# 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
|