Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Pre-commit hooks for fast linting checks
# Type checking is intentionally excluded as it's slow
# Install: pre-commit install
# Run manually: pre-commit run --all-files

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-json
- id: check-added-large-files
- id: check-merge-conflict

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.2
hooks:
# Run the linter
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
# Run the formatter
- id: ruff-format
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ dev-dependencies = [
"nest_asyncio==1.6.0",
"pytest-xdist>=3.6.1",
"debugpy>=1.8.15",
"pre-commit>=4.0.0",
]

[tool.rye.scripts]
Expand Down
42 changes: 24 additions & 18 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ certifi==2023.7.22
# via httpx
# via kubernetes
# via requests
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.4.3
# via requests
click==8.2.1
Expand Down Expand Up @@ -113,14 +115,16 @@ httpx==0.27.2
# via mcp
# via openai
# via respx
httpx-aiohttp==0.1.9
# via scale-gp
# via scale-gp-beta
httpx-aiohttp==0.1.9
# via agentex-sdk
httpx-sse==0.4.1
# via mcp
huggingface-hub==0.34.4
# via tokenizers
identify==2.6.15
# via pre-commit
idna==3.4
# via anyio
# via httpx
Expand Down Expand Up @@ -186,6 +190,7 @@ nest-asyncio==1.6.0
nexus-rpc==1.1.0
# via temporalio
nodeenv==1.8.0
# via pre-commit
# via pyright
nox==2023.4.22
oauthlib==3.3.1
Expand Down Expand Up @@ -213,26 +218,13 @@ platformdirs==3.11.0
# via virtualenv
pluggy==1.5.0
# via pytest
pre-commit==4.3.0
prompt-toolkit==3.0.51
# via ipython
# via questionary
propcache==0.3.1
# via aiohttp
# via yarl
pydantic==2.11.9
# via agentex-sdk
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.33.2
# via pydantic
protobuf==5.29.5
# via ddtrace
# via temporalio
Expand All @@ -247,6 +239,19 @@ pyasn1==0.6.1
# via rsa
pyasn1-modules==0.4.2
# via google-auth
pydantic==2.11.9
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.33.2
# via pydantic
pydantic-settings==2.10.1
# via mcp
pygments==2.18.0
Expand Down Expand Up @@ -282,6 +287,7 @@ pyyaml==6.0.2
# via agentex-sdk
# via huggingface-hub
# via kubernetes
# via pre-commit
pyzmq==27.0.1
# via ipykernel
# via jupyter-client
Expand Down Expand Up @@ -383,16 +389,15 @@ typing-extensions==4.12.2
# via pydantic
# via pydantic-core
# via pyright
# via typing-inspection
typing-inspection==0.4.1
# via pydantic
# via python-on-whales
# via referencing
# via scale-gp
# via scale-gp-beta
# via temporalio
# via typer
# via typing-inspection
typing-inspection==0.4.1
# via pydantic
# via pydantic-settings
tzdata==2025.2
# via agentex-sdk
Expand All @@ -406,6 +411,7 @@ uvicorn==0.35.0
# via mcp
virtualenv==20.24.5
# via nox
# via pre-commit
watchfiles==0.24.0
# via agentex-sdk
wcwidth==0.2.13
Expand Down
33 changes: 16 additions & 17 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ httpcore==1.0.9
httpx==0.27.2
# via agentex-sdk
# via httpx-aiohttp
httpx-aiohttp==0.1.9
# via litellm
# via mcp
# via openai
# via scale-gp
# via scale-gp-beta
httpx-aiohttp==0.1.9
# via agentex-sdk
httpx-sse==0.4.1
# via mcp
Expand Down Expand Up @@ -200,19 +200,6 @@ prompt-toolkit==3.0.51
propcache==0.3.1
# via aiohttp
# via yarl
pydantic==2.11.9
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.33.2
# via pydantic
protobuf==5.29.5
# via ddtrace
# via temporalio
Expand All @@ -227,6 +214,19 @@ pyasn1==0.6.1
# via rsa
pyasn1-modules==0.4.2
# via google-auth
pydantic==2.11.9
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.33.2
# via pydantic
pydantic-settings==2.10.1
# via mcp
pygments==2.19.2
Expand Down Expand Up @@ -351,16 +351,15 @@ typing-extensions==4.12.2
# via opentelemetry-api
# via pydantic
# via pydantic-core
# via typing-inspection
typing-inspection==0.4.1
# via pydantic
# via python-on-whales
# via referencing
# via scale-gp
# via scale-gp-beta
# via temporalio
# via typer
# via typing-inspection
typing-inspection==0.4.1
# via pydantic
# via pydantic-settings
tzdata==2025.2
# via agentex-sdk
Expand Down