Skip to content

Commit 3072ffb

Browse files
author
Github-actions
committed
Automatic linting
1 parent fb974d9 commit 3072ffb

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

wger/nutrition/api/filtersets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
# Django
2020
from django.contrib.postgres.search import TrigramSimilarity
21+
2122
# Third Party
2223
from django_filters import rest_framework as filters
2324

@@ -29,6 +30,7 @@
2930
from wger.utils.db import is_postgres_db
3031
from wger.utils.language import load_language
3132

33+
3234
logger = logging.getLogger(__name__)
3335

3436

wger/nutrition/api/serializers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
# Django
1717
from django.conf import settings
18+
1819
# Third Party
1920
from easy_thumbnails.files import get_thumbnailer
2021
from rest_framework import serializers

wger/nutrition/api/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from django.contrib.postgres.search import TrigramSimilarity
2424
from django.utils.decorators import method_decorator
2525
from django.views.decorators.cache import cache_page
26+
2627
# Third Party
2728
from easy_thumbnails.alias import aliases
2829
from easy_thumbnails.files import get_thumbnailer
@@ -70,6 +71,7 @@
7071
from wger.utils.language import load_language
7172
from wger.utils.viewsets import WgerOwnerObjectModelViewSet
7273

74+
7375
logger = logging.getLogger(__name__)
7476

7577

wger/nutrition/tests/test_ingredient.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
# Django
2323
from django.core.exceptions import ValidationError
2424
from django.urls import reverse
25+
2526
# Third Party
2627
from rest_framework import status
2728

wger/urls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
sitemap,
2626
)
2727
from django.urls import path
28+
2829
# Third Party
2930
from django_email_verification import urls as email_urls
3031
from drf_spectacular.views import (
@@ -50,6 +51,7 @@
5051
from wger.utils.generic_views import TextTemplateView
5152
from wger.weight.api import views as weight_api_views
5253

54+
5355
#
5456
# REST API
5557
#

0 commit comments

Comments
 (0)