Skip to content

fix(engine): add from None to re-raised exception (B904)#24

Merged
jrob5756 merged 1 commit intomainfrom
fix/lint-b904-raise-from-none
Mar 6, 2026
Merged

fix(engine): add from None to re-raised exception (B904)#24
jrob5756 merged 1 commit intomainfrom
fix/lint-b904-raise-from-none

Conversation

@jrob5756
Copy link
Copy Markdown
Collaborator

@jrob5756 jrob5756 commented Mar 6, 2026

Summary

  • Fixes ruff B904 lint violation in workflow.py that was failing CI
  • Added from None to raise ExecutionError(...) inside an except (ValueError, TypeError) clause to make exception chaining explicit
  • Applied ruff auto-formatting fixes to both source and test files

Test plan

  • make lint passes
  • make typecheck passes
  • make test passes (1629 tests, 0 failures)

🤖 Generated with Claude Code

…(B904)

Ruff B904 requires explicit exception chaining when raising inside an
except block. Added `from None` since we intentionally replace the
ValueError/TypeError with a more descriptive ExecutionError. Also
applied ruff auto-formatting fixes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jrob5756 jrob5756 merged commit 00926fd into main Mar 6, 2026
7 checks passed
@jrob5756 jrob5756 deleted the fix/lint-b904-raise-from-none branch March 6, 2026 15:16
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.

1 participant