Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jeriox committed Oct 18, 2023
1 parent 48e00ff commit 361120b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions myhpi/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
from modelcluster.contrib.taggit import ClusterTaggableManager
from modelcluster.fields import ParentalKey, ParentalManyToManyField
from taggit.models import ItemBase, TagBase
from wagtail.admin.panels import FieldPanel, PublishingPanel
from wagtail.admin.forms import WagtailAdminPageForm
from wagtail.models import Page, Site
from wagtail.admin.panels import FieldPanel, PublishingPanel
from wagtail.documents.models import Document
from wagtail.models import Page, Site
from wagtail.search import index
from wagtail.snippets.models import register_snippet

Expand Down
2 changes: 1 addition & 1 deletion myhpi/core/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from django.db.models import Q
from django.templatetags.static import static
from django.utils.html import format_html
from wagtail.contrib.modeladmin.options import ModelAdmin, modeladmin_register
from wagtail import hooks
from wagtail.contrib.modeladmin.options import ModelAdmin, modeladmin_register

from myhpi.core.models import (
AbbreviationExplanation,
Expand Down
1 change: 0 additions & 1 deletion myhpi/tests/test_markdown_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from django.test import TestCase
from django.utils.translation import activate


django.setup()

from myhpi.core.markdown.extensions import (
Expand Down
2 changes: 1 addition & 1 deletion myhpi/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from django.contrib.auth import views as auth_views
from django.urls import include, path, reverse_lazy
from django.views.generic import RedirectView
from wagtail.admin import urls as wagtailadmin_urls
from wagtail import urls as wagtail_urls
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.documents import urls as wagtaildocs_urls

from myhpi.search import views as search_views
Expand Down

0 comments on commit 361120b

Please sign in to comment.