mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: remove unused imports
This commit is contained in:
parent
4e88854d46
commit
4165111ce1
@ -1,7 +1,5 @@
|
||||
from rest_framework import serializers
|
||||
|
||||
from plane.settings.storage import S3PrivateBucketStorage
|
||||
|
||||
|
||||
class BaseSerializer(serializers.ModelSerializer):
|
||||
id = serializers.PrimaryKeyRelatedField(read_only=True)
|
||||
|
@ -1,11 +1,10 @@
|
||||
# Python imports
|
||||
import boto3
|
||||
import json
|
||||
from botocore.exceptions import ClientError
|
||||
from django.conf import settings
|
||||
|
||||
# Django imports
|
||||
from django.core.management import BaseCommand
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
@ -21,9 +20,7 @@ class Command(BaseCommand):
|
||||
)
|
||||
except ClientError as e:
|
||||
self.stdout.write(
|
||||
self.style.ERROR(
|
||||
f"Error removing public access policy: {e}"
|
||||
)
|
||||
self.style.ERROR(f"Error removing public access policy: {e}")
|
||||
)
|
||||
|
||||
def handle(self, *args, **options):
|
||||
|
@ -1,5 +1,4 @@
|
||||
# Generated by Django 4.2.7 on 2024-01-31 13:34
|
||||
import uuid
|
||||
from django.db import migrations, models
|
||||
from django.conf import settings
|
||||
import django.db.models
|
||||
|
@ -1,8 +1,7 @@
|
||||
# Generated by Django 4.2.7 on 2024-02-02 07:23
|
||||
|
||||
from django.db import migrations, models
|
||||
from django.db import migrations
|
||||
from django.conf import settings
|
||||
import django.db.models.deletion
|
||||
|
||||
# Third party imports
|
||||
from bs4 import BeautifulSoup
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Generated by Django 4.2.7 on 2024-02-05 06:42
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
def create_attachment_assets(apps, schema_editor):
|
||||
|
@ -2,7 +2,6 @@
|
||||
from uuid import uuid4
|
||||
|
||||
# Django imports
|
||||
from django.contrib.postgres.fields import ArrayField
|
||||
from django.db import models
|
||||
from django.conf import settings
|
||||
from django.db.models.signals import post_save
|
||||
|
@ -22,7 +22,6 @@ from plane.db.models import (
|
||||
CycleIssue,
|
||||
ModuleIssue,
|
||||
IssueLink,
|
||||
FileAsset,
|
||||
IssueReaction,
|
||||
CommentReaction,
|
||||
IssueVote,
|
||||
|
Loading…
Reference in New Issue
Block a user