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
|
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.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
[mypy-ceph.tests.*]
|
|
|
|
disallow_untyped_defs = False
|
|
|
|
ignore_errors = True
|
|
|
|
|
2021-01-05 11:58:08 +00:00
|
|
|
[mypy-mgr_util]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-25 10:41:58 +00:00
|
|
|
[mypy-alerts.*]
|
|
|
|
disallow_untyped_defs = True
|
2021-01-05 11:58:08 +00:00
|
|
|
|
2020-12-10 14:53:00 +00:00
|
|
|
[mypy-cephadm.*]
|
2020-11-20 12:04:50 +00:00
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-31 10:44:15 +00:00
|
|
|
[mypy-crash.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-27 04:08:11 +00:00
|
|
|
[mypy-devicehealth.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-02-20 05:17:53 +00:00
|
|
|
[mypy-diskprediction_local.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-29 16:48:36 +00:00
|
|
|
[mypy-hello.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-29 02:31:04 +00:00
|
|
|
[mypy-iostat.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-03-09 08:43:36 +00:00
|
|
|
[mypy-localpool.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-03-27 03:14:34 +00:00
|
|
|
[mypy-mds_autoscaler.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-18 15:02:38 +00:00
|
|
|
[mypy-orchestrator.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-02-26 03:48:53 +00:00
|
|
|
[mypy-prometheus.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-02-10 13:38:33 +00:00
|
|
|
[mypy-rbd_support.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-28 11:44:07 +00:00
|
|
|
[mypy-rook.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-04-10 14:54:37 +00:00
|
|
|
[mypy-selftest.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-28 11:44:07 +00:00
|
|
|
# external import
|
|
|
|
[mypy-rook.rook_client.*]
|
|
|
|
disallow_untyped_defs = False
|
|
|
|
|
2021-01-29 05:37:54 +00:00
|
|
|
[mypy-snap_schedule.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-03-22 10:06:03 +00:00
|
|
|
[mypy-telegraf.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-29 03:26:15 +00:00
|
|
|
[mypy-status.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-30 12:40:54 +00:00
|
|
|
[mypy-telemetry.*]
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
|
2021-01-27 04:20:36 +00:00
|
|
|
[mypy-zabbix.*]
|
|
|
|
disallow_untyped_defs = 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
|
|
|
|
|
|
|
|
[mypy-execnet.*]
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
[mypy-remoto.*]
|
|
|
|
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-cheroot.*]
|
|
|
|
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
|