style: run black formatter on files from main merge

This commit is contained in:
Ishaan Jaffer
2026-04-17 13:02:59 -07:00
parent ab44df202b
commit e8461b5b97
1364 changed files with 47031 additions and 34359 deletions
@@ -49,7 +49,7 @@ def test_package_dependencies():
import pathlib
import litellm
from packaging.requirements import Requirement
# Try to import tomllib (Python 3.11+) or tomli (older versions)
try:
import tomllib as tomli
@@ -104,14 +104,26 @@ def test_litellm_proxy_server_config_no_general_settings():
# Sync the local litellm packages into the project environment
server_process = None
try:
_run_uv("sync", "--frozen", "--group", "proxy-dev", "--extra", "proxy", "--extra", "extra_proxy")
_run_uv(
"sync",
"--frozen",
"--group",
"proxy-dev",
"--extra",
"proxy",
"--extra",
"extra_proxy",
)
# Ensure Prisma client is generated
try:
print(f"Running prisma generate from: {PROJECT_ROOT}")
result = _run_uv(
"run", "--no-sync", "prisma", "generate",
"run",
"--no-sync",
"prisma",
"generate",
capture_output=True,
text=True,
)
@@ -123,7 +135,16 @@ def test_litellm_proxy_server_config_no_general_settings():
filepath = os.path.dirname(os.path.abspath(__file__))
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
server_process = subprocess.Popen(
["uv", "run", "--no-sync", "python", "-m", "litellm.proxy.proxy_cli", "--config", config_fp],
[
"uv",
"run",
"--no-sync",
"python",
"-m",
"litellm.proxy.proxy_cli",
"--config",
config_fp,
],
cwd=PROJECT_ROOT,
)