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:
@@ -21,7 +21,6 @@ from typing import Any, Callable, Coroutine, Optional, Union, _GenericAlias, get
|
||||
from urllib.parse import urljoin, urlparse
|
||||
|
||||
import demjson3 as demjson
|
||||
import tiktoken
|
||||
from pathvalidate import sanitize_filename as pathvalidate_sanitize_filename
|
||||
from sqlalchemy import text
|
||||
|
||||
@@ -1384,7 +1383,6 @@ def fire_and_forget(coro, task_name: Optional[str] = None, error_callback: Optio
|
||||
Returns:
|
||||
The created asyncio Task object
|
||||
"""
|
||||
import traceback
|
||||
|
||||
task = asyncio.create_task(coro)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user