feat: Bump ruff version to 0.9 (#5666)
* Bump ruff version to 0.9 * Rename some modules for A005 ruff rule
This commit is contained in:
parent
242165b8aa
commit
da83dbbcb5
29 changed files with 137 additions and 136 deletions
|
|
@ -58,7 +58,7 @@ async def test_initialize_super_user():
|
|||
@pytest.mark.benchmark
|
||||
async def test_get_and_cache_all_types_dict():
|
||||
"""Benchmark get_and_cache_all_types_dict function."""
|
||||
from langflow.interface.types import get_and_cache_all_types_dict
|
||||
from langflow.interface.components import get_and_cache_all_types_dict
|
||||
|
||||
settings_service = get_settings_service()
|
||||
result = await get_and_cache_all_types_dict(settings_service)
|
||||
|
|
@ -70,7 +70,7 @@ async def test_get_and_cache_all_types_dict():
|
|||
async def test_create_starter_projects():
|
||||
"""Benchmark creation of starter projects."""
|
||||
from langflow.initial_setup.setup import create_or_update_starter_projects
|
||||
from langflow.interface.types import get_and_cache_all_types_dict
|
||||
from langflow.interface.components import get_and_cache_all_types_dict
|
||||
from langflow.services.utils import initialize_services
|
||||
|
||||
await initialize_services(fix_migration=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue