Skip to content

Commit

Permalink
Sorted imports and fixed isort failing
Browse files Browse the repository at this point in the history
  • Loading branch information
Terbau committed Sep 18, 2022
1 parent 0e89f7a commit 897bd74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
language: system
- id: isort
name: sort imports (python)
entry: bash -c "poetry run isort $@"
entry: bash -c "poetry run isort ."
types: [python]
language: system
- id: poetry-check
Expand Down
8 changes: 4 additions & 4 deletions backend/app/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"""API related functions and classes."""

from typing import Any, Callable, Coroutine
from fastapi import Response
from fastapi import Request as OriginalRequest

from app.db import Database
from fastapi import FastAPI as OriginalFastAPI
from fastapi import Request as OriginalRequest
from fastapi import Response
from fastapi.routing import APIRoute
from app.db import Database
from starlette.requests import Request as StarletteRequest


__all__ = (
"FastAPI",
"Request",
Expand Down

0 comments on commit 897bd74

Please sign in to comment.