chore: add ty + pre-commit hook and repeal even more ruff rules (#9504)
* auto fixes * auto fix pt2 and transitive deps and undefined var checking locals() * manual fixes (ignored or letta-code fixed) * fix circular import * remove all ignores, add FastAPI rules and Ruff rules * add ty and precommit * ruff stuff * ty check fixes * ty check fixes pt 2 * error on invalid
This commit is contained in:
@@ -2,14 +2,13 @@ import httpx
|
||||
import pytest
|
||||
from dotenv import load_dotenv
|
||||
|
||||
from letta.embeddings import GoogleEmbeddings # Adjust the import based on your module structure
|
||||
from letta.embeddings import GoogleEmbeddings # type: ignore[import-untyped] # Adjust the import based on your module structure
|
||||
|
||||
load_dotenv()
|
||||
import os
|
||||
import threading
|
||||
import time
|
||||
|
||||
import pytest
|
||||
from letta_client import CreateBlock, Letta as LettaSDKClient, MessageCreate
|
||||
|
||||
SERVER_PORT = 8283
|
||||
|
||||
Reference in New Issue
Block a user