chore(api): fix linting errors

This commit is contained in:
jo 2022-06-26 16:09:09 +02:00 committed by Jonas L
parent be7e11216e
commit 86b7a34263
3 changed files with 2 additions and 2 deletions

View file

@ -14,6 +14,7 @@ class ManagedModelTestRunner(DiscoverRunner):
unmanaged_models: List[Type[Model]] = []
def setup_test_environment(self, *args, **kwargs):
# pylint: disable=import-outside-toplevel
from django.apps import apps
for model in apps.get_models():