diff --git a/django/requirements-types.txt b/django/requirements-types.txt index 6a499eb4d9..1dec9daeff 100644 --- a/django/requirements-types.txt +++ b/django/requirements-types.txt @@ -1,4 +1,4 @@ -#django-stubs==5.1.1 +django-stubs==5.1.1 types-python-dateutil==2.9.0.20241003 types-docutils==0.21.0.20241128 types-requests==2.32.0.20241016 diff --git a/setup.cfg b/setup.cfg index b775138864..bb3683bde2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,12 @@ [mypy] check_untyped_defs = True ignore_missing_imports = True +idisable_error_code = import-untyped warn_incomplete_stub = False +#plugins = mypy_django_plugin.main + +#[mypy.plugins.django-stubs] +#django_settings_module = "mysite.settings' [mypy-applications.catmaid.migrations.*] ignore_errors = True