Skip to content

Commit

Permalink
feat: run pre-commit hooks on backend code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Jul 6, 2024
1 parent d7e276c commit 20f9ed5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/backend/app/projects/project_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
def delete_project_by_id(
project_id: uuid.UUID,
db: Session = Depends(database.get_db),
user: AuthUser = Depends(login_required)
user: AuthUser = Depends(login_required),
):
"""
Delete a project by its ID, along with all associated tasks.
Expand Down Expand Up @@ -93,7 +93,7 @@ async def upload_project_task_boundaries(
project_id: uuid.UUID,
task_geojson: UploadFile = File(...),
db: Database = Depends(database.encode_db),
user: AuthUser = Depends(login_required)
user: AuthUser = Depends(login_required),
):
"""Set project task boundaries using split GeoJSON from frontend.
Expand Down Expand Up @@ -128,8 +128,8 @@ async def upload_project_task_boundaries(
async def preview_split_by_square(
project_geojson: UploadFile = File(...),
dimension: int = Form(100),
user: AuthUser = Depends(login_required)
):
user: AuthUser = Depends(login_required),
):
"""Preview splitting by square."""

# Validating for .geojson File.
Expand Down

0 comments on commit 20f9ed5

Please sign in to comment.