Fix import ordering for multilingual CI lint
This commit is contained in:
@@ -2,7 +2,6 @@ import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
||||
if str(PROJECT_ROOT) not in sys.path:
|
||||
sys.path.insert(0, str(PROJECT_ROOT))
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
from mandelblog_content_guard.management.commands.audit_locales import Command # noqa: F401
|
||||
from mandelblog_content_guard.management.commands.audit_locales import (
|
||||
Command, # noqa: F401
|
||||
)
|
||||
|
||||
@@ -2,6 +2,7 @@ import uuid
|
||||
|
||||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from wagtail.admin.panels import FieldPanel
|
||||
from wagtail.blocks import RichTextBlock
|
||||
from wagtail.contrib.settings.models import BaseSiteSetting
|
||||
|
||||
@@ -8,8 +8,8 @@ For the full list of settings and their values, see
|
||||
https://docs.djangoproject.com/en/2.0/ref/settings/
|
||||
"""
|
||||
|
||||
from pathlib import Path
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from configtype.jsonconfig import setup_search_paths
|
||||
|
||||
|
||||
Reference in New Issue
Block a user