Automatic linting

This commit is contained in:
Github-actions
2026-01-30 13:52:45 +00:00
parent 028b55a2e0
commit 3916504172

View File

@@ -17,16 +17,6 @@
# Standard Library
import logging
# Third Party
import bleach
from bleach.css_sanitizer import CSSSanitizer
from crispy_forms.helper import FormHelper
from crispy_forms.layout import (
ButtonHolder,
Layout,
Submit,
)
# Django
from django.contrib import messages
from django.contrib.auth.mixins import PermissionRequiredMixin
@@ -40,6 +30,16 @@ from django.utils.translation import gettext_lazy
from django.views.generic import TemplateView
from django.views.generic.edit import ModelFormMixin
# Third Party
import bleach
from bleach.css_sanitizer import CSSSanitizer
from crispy_forms.helper import FormHelper
from crispy_forms.layout import (
ButtonHolder,
Layout,
Submit,
)
# wger
from wger.utils.constants import (
HTML_ATTRIBUTES_WHITELIST,
@@ -47,6 +47,7 @@ from wger.utils.constants import (
HTML_TAG_WHITELIST,
)
logger = logging.getLogger(__name__)