Skip to content

Commit 4c7f054

Browse files
[pre-commit.ci] pre-commit autoupdate (#90)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.8.0 → 25.1.0](psf/black@24.8.0...25.1.0) - [github.com/pycqa/isort: 5.13.2 → 6.0.1](PyCQA/isort@5.13.2...6.0.1) - [github.com/hhatto/autopep8: v2.3.1 → v2.3.2](hhatto/autopep8@v2.3.1...v2.3.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7ccca78 commit 4c7f054

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 24.8.0 # Use the latest stable version of Black
3+
rev: 25.1.0 # Use the latest stable version of Black
44
hooks:
55
- id: black
66

77
- repo: https://github.com/pycqa/isort
8-
rev: 5.13.2
8+
rev: 6.0.1
99
hooks:
1010
- id: isort
1111
args: [--profile, black]
1212
- repo: https://github.com/hhatto/autopep8
13-
rev: v2.3.1 # Use the latest stable version of autopep8
13+
rev: v2.3.2 # Use the latest stable version of autopep8
1414
hooks:
1515
- id: autopep8

backend/app/expenses/routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ async def calculate_optimized_settlements(
405405

406406
@balance_router.get("/friends-balance", response_model=FriendsBalanceResponse)
407407
async def get_cross_group_friend_balances(
408-
current_user: Dict[str, Any] = Depends(get_current_user)
408+
current_user: Dict[str, Any] = Depends(get_current_user),
409409
):
410410
"""Retrieve the current user's aggregated balances with all friends"""
411411
try:
@@ -418,7 +418,7 @@ async def get_cross_group_friend_balances(
418418

419419
@balance_router.get("/balance-summary", response_model=BalanceSummaryResponse)
420420
async def get_overall_user_balance_summary(
421-
current_user: Dict[str, Any] = Depends(get_current_user)
421+
current_user: Dict[str, Any] = Depends(get_current_user),
422422
):
423423
"""Retrieve an overall balance summary for the current user"""
424424
try:

backend/app/user/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
@router.get("/me", response_model=UserProfileResponse)
1616
async def get_current_user_profile(
17-
current_user: Dict[str, Any] = Depends(get_current_user)
17+
current_user: Dict[str, Any] = Depends(get_current_user),
1818
):
1919
user = await user_service.get_user_by_id(current_user["_id"])
2020
if not user:

0 commit comments

Comments
 (0)