chore: enable F821, F401, W293 (#9503)
* auto fixes * auto fix pt2 and transitive deps and undefined var checking locals() * manual fixes (ignored or letta-code fixed) * fix circular import
This commit is contained in:
@@ -8,8 +8,6 @@ Create Date: 2025-10-07 13:01:17.872405
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-09-10 19:16:39.118760
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-12-17 15:46:06.184858
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-10-03 12:10:51.065067
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
@@ -9,6 +9,7 @@ Create Date: 2024-12-14 17:23:08.772554
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
from pgvector.sqlalchemy import Vector
|
||||
from sqlalchemy.dialects import postgresql
|
||||
|
||||
from alembic import op
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-09-19 10:58:19.658106
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-10-06 13:17:09.918439
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-11-11 19:16:00.000000
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
from letta.settings import settings
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-12-07 15:30:43.407495
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-11-11 21:16:00.000000
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
from letta.settings import settings
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ depends_on: Union[str, Sequence[str], None] = None
|
||||
def upgrade() -> None:
|
||||
# determine backfill value based on current pinecone settings
|
||||
try:
|
||||
from pinecone import IndexEmbed, PineconeAsyncio
|
||||
from pinecone import IndexEmbed, PineconeAsyncio # noqa: F401
|
||||
|
||||
pinecone_available = True
|
||||
except ImportError:
|
||||
|
||||
@@ -10,8 +10,6 @@ import json
|
||||
import os
|
||||
|
||||
# Add the app directory to path to import our crypto utils
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-11-07 15:43:59.446292
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
from letta.settings import settings
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ Create Date: 2025-10-04 00:44:06.663817
|
||||
|
||||
from typing import Sequence, Union
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
|
||||
Reference in New Issue
Block a user