1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/mypy.ini
Oleg Bulatov 366be31896 Update type hints (#1409)
* Update peewee types

Also remove tools/sharedimagestorage.py as it doesn't work anymore.

    tools/sharedimagestorage.py:3: error: "ModelSelect[ImageStorage]" has no attribute "annotate"

* Remove endpoints/api/test/test_security.py from exclude list

* Format storage/test/test_azure.py
2022-06-27 17:52:29 +02:00

16 lines
469 B
INI

[mypy]
python_version = 3.9
mypy_path = mypy_stubs
exclude = (?x)(
^buildman/test/test_buildman\.py$ |
^buildman/buildman_pb/buildman_pb2\.py$ )
# Necessary because most current dependencies do not have typing
ignore_missing_imports = True
# These are all good code quality measures to warn about
# See: https://mypy.readthedocs.io/en/stable/config_file.html#configuring-warnings
warn_redundant_casts = True
warn_unused_ignores = True
warn_unreachable = True