2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 14:51:51 +00:00

ran ruff to remove unused imports

This commit is contained in:
Philip Sargent 2023-01-19 21:20:47 +00:00
parent ba2ae6cd82
commit 89b0c0862e
2 changed files with 7 additions and 8 deletions

View File

@ -4,7 +4,6 @@ import os
import resource import resource
import sys import sys
import time import time
import timeit
import settings import settings
@ -39,13 +38,8 @@ print(f" - Memory footprint after loading Django: {resource.getrusage(resource.R
from django.contrib.auth.models import User from django.contrib.auth.models import User
from django.core import management from django.core import management
from django.db import close_old_connections, connection, connections, transaction from django.db import connection, transaction
from django.http import HttpResponse
from django.urls import reverse
import troggle.core.models.survex
from troggle.core.models.caves import Cave, Entrance
from troggle.core.models.troggle import DataIssue
from troggle.core.utils import get_process_memory from troggle.core.utils import get_process_memory
from troggle.parsers.imports import ( from troggle.parsers.imports import (
import_caves, import_caves,

View File

@ -3,3 +3,8 @@ line-length = 120
[tool.isort] [tool.isort]
profile = 'black' profile = 'black'
line-length=120
[tool.ruff]
line-length=120
ignore = ["E402"]