2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-18 05:47:15 +00:00

import order fixed by ruff

This commit is contained in:
2024-12-15 18:54:47 +00:00
parent eb74940ca8
commit 30760654b7
34 changed files with 83 additions and 112 deletions

View File

@@ -11,6 +11,7 @@ from troggle.core.models.logbooks import LogbookEntry, writelogbook # , PersonL
# from databaseReset import reinit_db # don't do this. databaseRest runs code *at import time*
from troggle.core.models.troggle import Expedition
from troggle.core.utils import current_expo
from troggle.parsers.imports import (
import_caves,
import_drawingsfiles,
@@ -20,7 +21,7 @@ from troggle.parsers.imports import (
import_survex,
import_surveyscans,
)
from troggle.core.utils import current_expo
from .auth import login_required_if_public
"""Utility functions and code to serve the control panel and individual user's
@@ -37,11 +38,11 @@ def todos(request, module):
"""produces todo text from module
We could automate this to find all those strings automatically
"""
from troggle.core.TESTS.tests import todo as tests
from troggle.core.forms import todo as forms
from troggle.core.middleware import todo as middleware
from troggle.core.models.caves import todo as modelcaves
from troggle.core.models.logbooks import todo as modellogbooks
from troggle.core.TESTS.tests import todo as tests
from troggle.core.views.caves import todo as viewcaves
from troggle.core.views.drawings import todo as viewdrawings
from troggle.core.views.logbooks import todo as viewlogbooks