Skip to content

fix: handle legacy i2c findings outside root#72

Merged
baba-dev merged 1 commit into
mainfrom
codex/wrap-relative_to-call-in-try/except
Sep 18, 2025
Merged

fix: handle legacy i2c findings outside root#72
baba-dev merged 1 commit into
mainfrom
codex/wrap-relative_to-call-in-try/except

Conversation

@baba-dev
Copy link
Copy Markdown
Owner

Summary

  • wrap check_legacy_i2c formatter relative_to call in a ValueError guard and fall back to absolute paths
  • add a regression test ensuring formatter handles findings discovered outside of the configured root

Testing

  • python -m pytest tests/test_check_legacy_i2c.py

https://chatgpt.com/codex/tasks/task_e_68cc86fb82348324bcf7ca03fd612516

@baba-dev baba-dev merged commit f4be2ab into main Sep 18, 2025
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant