mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Automatic linting
This commit is contained in:
@@ -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__)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user