Skip to content

Commit

Permalink
test isort
Browse files Browse the repository at this point in the history
  • Loading branch information
Sovraska committed Dec 21, 2023
1 parent 9038dc8 commit 4ab34a9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
with:
path: "app"
- name: Run isort
run: |
isort --check ./app
uses: olance/[email protected]
with:
args: ./app
6 changes: 3 additions & 3 deletions app/api/endpoints/achievement.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from fastapi import APIRouter, Depends
from sqlalchemy.ext.asyncio import AsyncSession

from app.api.validators import check_name_duplicate
from app.core.db import get_async_session
from app.crud import achievement_crud
from app.schemas.achievement import AchievementCreate, AchievementRead
from app.services.endpoints_services import delete_obj
from app.api.validators import check_name_duplicate
from app.core.db import get_async_session


router = APIRouter()

Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
[tool.isort]
src_paths = ["app"]

0 comments on commit 4ab34a9

Please sign in to comment.