Skip to content

fix: wrap long lines to satisfy ruff E501 - #2

Merged
LacerdaTraderCode merged 2 commits into
mainfrom
fix/1-lint-e501
Oct 17, 2026
Merged

LacerdaTraderCode merged 2 commits into
mainfrom
fix/1-lint-e501

Conversation

@LacerdaTraderCode

Copy link
Copy Markdown
Owner

Closes #1

What changed

  • evaluation/rubric.py: the second ScoreLevel(...) of FACTUAL_ACCURACY is wrapped the way ruff format writes it.
  • scripts/run_evaluation.py: the ClaudeJudge(...) construction in main() is wrapped the same way.

Same arguments, same text, no behavior change.

Root cause

Ruff E501: both lines had 101 characters and the limit is 100. The Lint step failed and the test step was skipped in CI.

How it was validated

Formatting only. Validation is the CI run on this PR: Lint (ruff check . && ruff format --check .) and pytest -v must both run and pass. The ruff rules were not changed.

@LacerdaTraderCode
LacerdaTraderCode merged commit 1e28171 into main Oct 17, 2026
1 check passed
@LacerdaTraderCode
LacerdaTraderCode deleted the fix/1-lint-e501 branch October 17, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix E501 line too long in rubric.py and run_evaluation.py

1 participant