diff --git a/src/morphodict/paradigm/generation.py b/src/morphodict/paradigm/generation.py index ff081eefc..2d99e0ef7 100644 --- a/src/morphodict/paradigm/generation.py +++ b/src/morphodict/paradigm/generation.py @@ -10,7 +10,6 @@ ParadigmManager, ParadigmManagerWithExplicitSizes, ) -from morphodict.utils import shared_res_dir from morphodict.site.util import cache_unless diff --git a/src/morphodict/paradigm/test_layout.py b/src/morphodict/paradigm/test_layout.py index 9d9d6b5aa..262f1374d 100644 --- a/src/morphodict/paradigm/test_layout.py +++ b/src/morphodict/paradigm/test_layout.py @@ -1,20 +1,8 @@ -import logging -import re from http import HTTPStatus -from typing import Dict, Optional, cast import pytest -from django.http import ( - HttpResponseBadRequest, - HttpResponseNotAllowed, - HttpResponseNotFound, -) from django.test import Client from django.urls import reverse -from pytest_django.asserts import assertInHTML - -from crkeng.app.preferences import DisplayMode -from morphodict.lexicon.models import Wordform @pytest.mark.parametrize( ("lemma_text", "layout", "paradigm_size", "entries"), diff --git a/src/morphodict/paradigm/views.py b/src/morphodict/paradigm/views.py index 231062df2..3ab121ff2 100644 --- a/src/morphodict/paradigm/views.py +++ b/src/morphodict/paradigm/views.py @@ -1,8 +1,8 @@ from __future__ import annotations from django.conf import settings -from django.http import HttpResponse, HttpResponseBadRequest, HttpResponseNotFound -from django.shortcuts import redirect, render +from django.http import HttpResponseBadRequest, HttpResponseNotFound +from django.shortcuts import render from django.views.decorators.http import require_GET from typing import Optional, Any import logging