Skip to content

Commit

Permalink
refactor: PEP8.
Browse files Browse the repository at this point in the history
  • Loading branch information
mign0n committed Feb 27, 2024
1 parent 5a5bbd9 commit 7e28e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ async def check_data_fits_table_grid(
column_count: int,
) -> None:
if (
len(table_in) > row_count
or max(len(row) for row in table_in) > column_count
len(table_in) > row_count or
max(len(row) for row in table_in) > column_count
):
raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST,
Expand Down

0 comments on commit 7e28e0c

Please sign in to comment.