Revision d2559583cafa67d7dc7a8e30ac7ca60c914151a4 authored by Valentin Lorentz on 05 May 2020, 13:48:01 UTC, committed by Valentin Lorentz on 06 May 2020, 10:46:41 UTC
This allows the checker to use a configurable URL, in case it
needs an URL different from the one used by the client.

For example a client outside docker would use http://localhost:5080/deposit/
to access the API, but the checker cannot use this URL (it needs either
nginx or swh-deposit as hostname).
1 parent cb6bc3a
Raw File
mypy.ini
[mypy]
namespace_packages = True
warn_unused_ignores = True


# support for django magic: https://github.com/typeddjango/django-stubs
plugins = mypy_django_plugin.main

[mypy.plugins.django-stubs]
django_settings_module = swh.deposit.settings.testing


# 3rd party libraries without stubs (yet)

[mypy-celery.*]
ignore_missing_imports = True

[mypy-iso8601.*]
ignore_missing_imports = True

[mypy-pkg_resources.*]
ignore_missing_imports = True

[mypy-psycopg2.*]
ignore_missing_imports = True

[mypy-pytest.*]
ignore_missing_imports = True

[mypy-rest_framework.*]
ignore_missing_imports = True

[mypy-xmltodict.*]
ignore_missing_imports = True

[mypy-swh.loader.tar.*]
ignore_missing_imports = True
back to top