Skip to content

Commit dea3aaa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5e4fdc2 commit dea3aaa

84 files changed

Lines changed: 97 additions & 17 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

backend/api/tasks/actions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,10 +1143,10 @@ async def extend_duration(
11431143
async def reset_by_user(
11441144
request: Request,
11451145
project_id: int,
1146-
username: str
1147-
| None = Query(None, description="Username to revert tasks for", example="test"),
1148-
action: str
1149-
| None = Query(
1146+
username: str | None = Query(
1147+
None, description="Username to revert tasks for", example="test"
1148+
),
1149+
action: str | None = Query(
11501150
None,
11511151
description="Action to revert tasks for. Can be BADIMAGERY or VALIDATED",
11521152
example="BADIMAGERY",

backend/services/mapping_service.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,9 @@ async def generate_gpx(
325325
# Create trk element
326326
trk = ET.Element("trk")
327327
root.append(trk)
328-
ET.SubElement(
329-
trk, "name"
330-
).text = f"Task for project {project_id}. Do not edit outside of this area!"
328+
ET.SubElement(trk, "name").text = (
329+
f"Task for project {project_id}. Do not edit outside of this area!"
330+
)
331331

332332
# Construct trkseg elements
333333
if task_ids_str is not None:

migrations/versions/05e1ecf9953a_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2018-12-04 19:53:41.477085
66
77
"""
8+
89
import sqlalchemy as sa
910
from alembic import op
1011

migrations/versions/05f1b650ddbc_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2022-08-17 15:58:37.118728
66
77
"""
8+
89
import sqlalchemy as sa
910
from alembic import op
1011

migrations/versions/068674f06b0f_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2019-10-02 08:45:00.553060
66
77
"""
8+
89
import sqlalchemy as sa
910
from alembic import op
1011

migrations/versions/0a6b82b55983_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2018-09-04 19:09:45.866336
66
77
"""
8+
89
import re
910

1011
import sqlalchemy as sa

migrations/versions/0aaac86a48dc_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2017-05-01 14:04:16.188885
66
77
"""
8+
89
import sqlalchemy as sa
910
from alembic import op
1011

migrations/versions/0d47c10c8a66_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2019-01-13 20:51:12.809062
66
77
"""
8+
89
import sqlalchemy as sa
910
from alembic import op
1011

migrations/versions/0eeaa5aed53b_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2019-06-26 17:31:17.238355
66
77
"""
8+
89
import sqlalchemy as sa
910
from alembic import op
1011

migrations/versions/0eee8c1abd3a_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2019-05-24 23:05:45.512395
66
77
"""
8+
89
import json
910
import sys
1011

0 commit comments

Comments
 (0)