Skip to content

Commit

Permalink
fix: black refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Valimp committed Mar 22, 2024
1 parent b013d5c commit 9e1f13e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
rev: 23.11.0
hooks:
- id: black
language_version: python3.11
language_version: python3.9.6

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
Expand Down
4 changes: 3 additions & 1 deletion app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@ def get_tickets():
with db:
return {
"tickets": list(
TicketModel.select().where(TicketModel.status == TicketStatus.open).dicts()
TicketModel.select()
.where(TicketModel.status == TicketStatus.open)
.dicts()
)
}

Expand Down

0 comments on commit 9e1f13e

Please sign in to comment.