update pre-commit, noxfile, and uv locks

This commit is contained in:
Danglewood
2026-09-24 20:53:56 -07:00
parent b48accbdd4
commit 5b1bc33e57
39 changed files with 5089 additions and 12708 deletions

View File

@@ -6,7 +6,9 @@ import nox
ROOT_DIR = Path(__file__).parent.parent.parent
PLATFORM_DIR = ROOT_DIR / "openbb_platform"
PLATFORM_TESTS = [str(PLATFORM_DIR / p) for p in ["tests", "core", "providers", "extensions"]]
PLATFORM_TESTS = [
str(PLATFORM_DIR / p) for p in ["tests", "core", "providers", "extensions"]
]
CLI_DIR = ROOT_DIR / "cli"
CLI_TESTS = CLI_DIR / "tests"
@@ -14,12 +16,9 @@ CLI_TESTS = CLI_DIR / "tests"
@nox.session(python=["3.10", "3.11", "3.12", "3.13", "3.14"])
def unit_test_platform(session):
"""Run the test suite."""
session.install("poetry")
session.install("uv")
session.run(
"python",
str(PLATFORM_DIR / "dev_install.py"),
"-e",
external=True,
"python", str(PLATFORM_DIR / "dev_install.py"), "--routers", external=True
)
session.install("pytest")
session.install("pytest-cov")
@@ -36,13 +35,9 @@ def unit_test_platform(session):
@nox.session(python=["3.10", "3.11", "3.12", "3.13", "3.14"])
def unit_test_cli(session):
"""Run the test suite."""
session.install("poetry")
session.install("uv")
session.run(
"python",
str(PLATFORM_DIR / "dev_install.py"),
"-e",
"--cli",
external=True,
"python", str(PLATFORM_DIR / "dev_install.py"), "--routers", external=True
)
session.install("pytest")
session.install("pytest-cov")