diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index feadde6..786c096 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,5 +24,6 @@ jobs: with: path: "app" - name: Run isort - run: | - isort --check ./app + uses: olance/isort-action@v1.0.0 + with: + args: ./app \ No newline at end of file diff --git a/app/api/endpoints/achievement.py b/app/api/endpoints/achievement.py index fc32c7a..946381d 100644 --- a/app/api/endpoints/achievement.py +++ b/app/api/endpoints/achievement.py @@ -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() diff --git a/pyproject.toml b/pyproject.toml index b8ccac8..e69de29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +0,0 @@ -[tool.isort] -src_paths = ["app"] \ No newline at end of file