Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
borolepratik committed May 9, 2024
1 parent 803b4b7 commit 3d4bd10
Show file tree
Hide file tree
Showing 6 changed files with 569 additions and 272 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
repos:
# Execute external scripts
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.24.0
rev: v3.25.0
hooks:
- id: commitizen
stages: [commit-msg]
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12.2
3.12.3
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python 3.12.3
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def get_laps(
return session_laps_as_json_obj
except ValueError as ve:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=f"Bad Request. {str(ve)}")
except KeyError as ke:
except KeyError:
raise HTTPException(
status_code=status.HTTP_404_NOT_FOUND,
detail=f"Likely an error when fetching laps data for a session that has yet to happen.",
Expand Down Expand Up @@ -689,7 +689,7 @@ def get_fastest_sectors(
return FastestSectors.model_validate(min_sector_times)
except ValueError as ve:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=f"Bad Request. {str(ve)}")
except KeyError as ke:
except KeyError:
raise HTTPException(
status_code=status.HTTP_404_NOT_FOUND,
detail=f"Likely an error when fetching laps data for a session that has yet to happen.",
Expand Down
Loading

0 comments on commit 3d4bd10

Please sign in to comment.