Summary
The PR Safety workflow ("Lint and format" job) is failing on main because tests/test_docs_pipeline.py does not pass ruff format --check.
Failure Details
- Workflow:
.github/workflows/tests.yml → "PR Safety"
- Job: Lint and format
- Step: Check formatting
- Failing run: PR Safety #49
- Command:
ruff format --check docs-agent-mcp/mcp-server tests
Error output:
Would reformat: tests/test_docs_pipeline.py
1 file would be reformatted, 15 files already formatted
Error: Process completed with exit code 1.
Impact
Every new PR against main inherits this formatting failure, which blocks contributors from getting clean CI results in the "Lint and format" job.
Root Cause
tests/test_docs_pipeline.py has a trailing blank line at the end of the file that ruff format flags as a formatting violation.
Fix
Running ruff format tests/test_docs_pipeline.py resolves the issue. PR: #235
Summary
The
PR Safetyworkflow ("Lint and format" job) is failing onmainbecausetests/test_docs_pipeline.pydoes not passruff format --check.Failure Details
.github/workflows/tests.yml→ "PR Safety"ruff format --check docs-agent-mcp/mcp-server testsError output:
Impact
Every new PR against
maininherits this formatting failure, which blocks contributors from getting clean CI results in the "Lint and format" job.Root Cause
tests/test_docs_pipeline.pyhas a trailing blank line at the end of the file thatruff formatflags as a formatting violation.Fix
Running
ruff format tests/test_docs_pipeline.pyresolves the issue. PR: #235