linter fix

This commit is contained in:
Alexander Karpov 2023-09-08 16:52:18 +03:00
parent 265a57ec28
commit 5f4a10a25c
9 changed files with 9 additions and 13 deletions

View File

@ -28,4 +28,3 @@ REDIS_URL=redis://redis:6379/0
# Flower
CELERY_FLOWER_USER=UXyQUejoipUYkEXdXBHQWpPqqnQYbtSb
CELERY_FLOWER_PASSWORD=r17u4eedX6PY1EsAh6l4VIGeBKh3ntAWT91mwHHZJrbgPYrekAGqHbzXsdUrJ9BJ

View File

@ -77,4 +77,3 @@ updates:
# Check for updates to GitHub Actions every weekday
schedule:
interval: "daily"

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
!.gitkeep
.idea
.env
### Python template
# Byte-compiled / optimized / DLL files

View File

@ -2,8 +2,6 @@
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path
from django.views import defaults as default_views
from django.views.generic import TemplateView
from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView
from rest_framework.authtoken.views import obtain_auth_token

View File

@ -1,12 +1,12 @@
from django.db import models
from press_release_nl.utils.files import user_file_upload_mixin
from press_release_nl.utils.generators import generate_charset
from press_release_nl.common.signals import (
create_cropped_model_image,
delete_cropped_model_image,
update_cropped_model_image,
)
from press_release_nl.utils.files import user_file_upload_mixin
from press_release_nl.utils.generators import generate_charset
class BaseImageModel(models.Model):

View File

@ -1,5 +1,5 @@
from django.core.cache import cache
from django.db.models.signals import post_save, post_delete, pre_save
from django.db.models.signals import post_delete, post_save, pre_save
from django.dispatch import receiver
from press_release_nl.tickets.models import Ticket

View File

@ -1 +0,0 @@

View File

@ -1,6 +1,6 @@
import os
from io import BytesIO
from PIL import Image
from press_release_nl.users.models import User