Skip to content

Commit c216bc5

Browse files
committed
Fix CI formatting issue: add explicit pydantic dependency and format parser_tool.py
- Add pydantic>=2.0.0 to requirements.txt to ensure it's available for import resolution - Apply ruff formatting to src/skills/parser_tool.py to fix format check failures - Import ordering has been corrected per ruff/isort rules
1 parent cc8ec35 commit c216bc5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/python-format.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
python-version: '3.11'
2828
install-dev-reqs: 'true'
2929

30+
- name: Install main dependencies for import resolution
31+
run: |
32+
pip install -r requirements.txt
33+
3034
- name: Check import sorting with ruff
3135
run: |
3236
python -m ruff check src/ --select I --diff

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ langchain==0.3.27
22
langchain-google-genai==2.1.9
33
langchain-community==0.3.27
44
langchain-ollama==0.3.6
5+
pydantic>=2.0.0
56
fastapi==0.117.1
67
uvicorn==0.37.0
78
psycopg2-binary==2.9.10

src/skills/parser_tool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
from langchain.tools import BaseTool
32
from pydantic import BaseModel
43
from pydantic import Field

0 commit comments

Comments
 (0)