mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
mypy.ini: Remove global ignore_missing_imports = True
A global flag hides errors when we actually want to import something. Like ceph-python-common etc. Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
parent
1c27f71334
commit
0763bcfa68
60
src/mypy.ini
60
src/mypy.ini
@ -1,7 +1,65 @@
|
||||
[mypy]
|
||||
strict_optional = True
|
||||
no_implicit_optional = True
|
||||
ignore_missing_imports = True
|
||||
warn_incomplete_stub = True
|
||||
check_untyped_defs = True
|
||||
show_error_context = 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
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
[mypy-onelogin.*]
|
||||
ignore_missing_imports = True
|
||||
|
||||
# Make volumes happy:
|
||||
[mypy-StringIO]
|
||||
ignore_missing_imports = True
|
Loading…
Reference in New Issue
Block a user