Skip to content

Commit 53e4f3f

Browse files
mikipaletclaude
andcommitted
fix: regenerate tests with ruff-compliant output
- Regenerate test_endpoints_generated.py with fixed generator - Add pyyaml dependency to generate step in workflow - Add linting step for generated test file in workflow Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4b17c7f commit 53e4f3f

2 files changed

Lines changed: 93 additions & 90 deletions

File tree

.github/workflows/generate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Generate endpoint tests
6868
run: |
6969
echo "Starting endpoint tests generation..."
70-
uv run python scripts/generate_endpoint_tests.py
70+
uv run --with pyyaml python scripts/generate_endpoint_tests.py
7171
echo "Endpoint tests generation complete."
7272
7373
- name: Run linter (fix formatting)
@@ -76,6 +76,8 @@ jobs:
7676
uv run ruff format src/late/resources/_generated/ || true
7777
uv run ruff check --fix src/late/mcp/generated_tools.py || true
7878
uv run ruff format src/late/mcp/generated_tools.py || true
79+
uv run ruff check --fix tests/test_endpoints_generated.py || true
80+
uv run ruff format tests/test_endpoints_generated.py || true
7981
8082
- name: Run tests
8183
run: uv run pytest tests -v --tb=short || echo "Tests failed but continuing..."

0 commit comments

Comments
 (0)