Skip to content

Commit 969c22a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1936883 commit 969c22a

8 files changed

Lines changed: 0 additions & 10 deletions

File tree

frontends/main/src/page-components/TiptapEditor/ArticleEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
// eslint-disable-next-line @typescript-eslint/no-unused-vars
88
export { NewsEditor as ArticleEditor } from "./contentTypes/news/NewsEditor"
99
export type { NewsEditorProps as ArticleEditorProps } from "./contentTypes/news/NewsEditor"
10-

news_events/etl/articles_news.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from news_events.constants import FeedType
66
from news_events.etl import loaders
7-
87
from website_content.constants import WebsiteContentType
98
from website_content.models import WebsiteContent
109

website_content/api.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
import logging
44

5-
65
from website_content.constants import WebsiteContentType
7-
86
from website_content.hooks import get_plugin_manager
97
from website_content.tasks import (
108
PURGE_TIMEOUT_SECONDS,

website_content/api_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import pytest
44

5-
65
from website_content.api import purge_content_on_save
76
from website_content.constants import WebsiteContentType
87
from website_content.factories import WebsiteContentFactory

website_content/factories.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from factory.django import DjangoModelFactory
55

66
from website_content import models
7-
87
from website_content.constants import WebsiteContentType
98

109

website_content/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from django.utils.text import slugify
77

88
from main.models import TimestampedModel
9-
109
from website_content.constants import WebsiteContentType
1110
from website_content.utils import website_content_image_upload_uri
1211

website_content/models_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import pytest
66
from django.contrib.auth import get_user_model
77

8-
98
from website_content.constants import WebsiteContentType
109
from website_content.models import WebsiteContent
1110

website_content/views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
from django.conf import settings
22
from django.shortcuts import get_object_or_404
33
from django.utils.decorators import method_decorator
4-
54
from django_filters.rest_framework import DjangoFilterBackend
6-
75
from drf_spectacular.utils import (
86
OpenApiParameter,
97
OpenApiResponse,

0 commit comments

Comments
 (0)