diff --git a/mypy.ini b/mypy.ini index cabc284..59d49e2 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,26 +1,23 @@ [mypy] namespace_packages = True warn_unused_ignores = True # support for django magic: https://github.com/typeddjango/django-stubs plugins = mypy_django_plugin.main, mypy_drf_plugin.main [mypy.plugins.django-stubs] django_settings_module = swh.auth.tests.django.app.apptest.settings # 3rd party libraries without stubs (yet) [mypy-jose.*] ignore_missing_imports = True [mypy-keycloak.*] ignore_missing_imports = True [mypy-pkg_resources.*] ignore_missing_imports = True [mypy-pytest.*] ignore_missing_imports = True - -[mypy-yaml.*] -ignore_missing_imports = True diff --git a/requirements-test.txt b/requirements-test.txt index e3285f3..22a9a6c 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,6 +1,9 @@ django-stubs djangorestframework-stubs pytest pytest-django pytest-mock requests_mock +types-click +types-pytz +types-pyyaml diff --git a/requirements.txt b/requirements.txt index 957da68..743742e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ # Add here external Python modules dependencies, one per line. Module names # should match https://pypi.python.org/pypi names. For the full spec or # dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html -python-keycloak >= 0.19.0 -PyYAML click -types-click +python-keycloak >= 0.19.0 +pyyaml