Skip to content

Commit

Permalink
refactor: remove unused imports
Browse files Browse the repository at this point in the history
An object has been imported but is not used anywhere in the file.
It should either be used or the import should be removed.
  • Loading branch information
deepsource-autofix[bot] authored Oct 2, 2023
1 parent b0800b9 commit 1be17e6
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion NearBeach/tests/tests_specific_bugs/test_new_instance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from django.test import TestCase, Client
from django.urls import reverse
import pdb

# Declaration of Username and Password
username = "admin"
Expand Down
5 changes: 1 addition & 4 deletions NearBeach/views/document_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,10 @@
RequirementItem,
)
from ..models import DocumentPermission, UserGroup, ObjectAssignment, UserProfilePicture

from azure.identity import DefaultAzureCredential
from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient
from azure.storage.blob import BlobServiceClient

import boto3
import json
import os
from pathlib import Path


Expand Down
2 changes: 0 additions & 2 deletions NearBeach/views/object_data_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
Customer,
Group,
KanbanCard,
ListOfRequirementItemStatus,
ListOfRequirementStatus,
ObjectAssignment,
ObjectNote,
Organisation,
Expand Down
2 changes: 0 additions & 2 deletions NearBeach/views/theme_views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from NearBeach.forms import UserSettingsForm
from NearBeach.models import UserSetting
from NearBeach.views.user_setting_views import update_user_settings


# Internal function
Expand Down
5 changes: 0 additions & 5 deletions NearBeach/views/tools/internal_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
Customer,
KanbanBoard,
KanbanCard,
ListOfRequirementItemStatus,
ListOfRequirementStatus,
ObjectAssignment,
Organisation,
Project,
RequestForChange,
Expand All @@ -16,8 +13,6 @@
UserGroup,
)

from django.db.models import Q

OBJECT_DICT = {
"change_task": ChangeTask.objects,
"customer": Customer.objects,
Expand Down

0 comments on commit 1be17e6

Please sign in to comment.