chore: Add pyproject.toml configuration to ruff format command in Makefile (#4714)
* Add pyproject.toml config flag to ruff commands in Makefile * Update ruff exclude path in pyproject.toml * Remove unused TYPE_CHECKING import from api_key.py * Remove redundant config flag from 'ruff check' command in Makefile
This commit is contained in:
parent
9e8715cf4c
commit
fb83af224a
3 changed files with 2 additions and 6 deletions
|
|
@ -1,4 +1,3 @@
|
|||
from typing import TYPE_CHECKING
|
||||
from uuid import UUID
|
||||
|
||||
from fastapi import APIRouter, Depends, HTTPException, Response
|
||||
|
|
@ -12,9 +11,6 @@ from langflow.services.database.models.api_key.crud import create_api_key, delet
|
|||
from langflow.services.database.models.api_key.model import ApiKeyCreate, UnmaskedApiKeyRead
|
||||
from langflow.services.deps import get_settings_service
|
||||
|
||||
if TYPE_CHECKING:
|
||||
pass
|
||||
|
||||
router = APIRouter(tags=["APIKey"], prefix="/api_key")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue