Skip to content

chore: update pre-commit hooks#286

Merged
gipert merged 3 commits into
mainfrom
pre-commit-ci-update-config
May 7, 2026
Merged

chore: update pre-commit hooks#286
gipert merged 3 commits into
mainfrom
pre-commit-ci-update-config

Conversation

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 6, 2026

Codecov Report

❌ Patch coverage is 87.50000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.31%. Comparing base (c2145d0) to head (fbf8aec).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/pyg4ometry/analysis/flukaData.py 0.00% 3 Missing ⚠️
...rc/pyg4ometry/visualisation/ViewerHierarchyBase.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #286   +/-   ##
=======================================
  Coverage   74.31%   74.31%           
=======================================
  Files         157      157           
  Lines       22953    22955    +2     
=======================================
+ Hits        17058    17060    +2     
  Misses       5895     5895           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gipert gipert force-pushed the pre-commit-ci-update-config branch from 743320f to fcd9aa6 Compare May 7, 2026 08:04
gipert and others added 2 commits May 7, 2026 11:47
ruff's UP007 rewrote `Optional[int]` to `int | None` in the autogenerated
parser files, which breaks runtime evaluation on Python 3.9. Add the
future import so annotations are deferred.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
ruff's RUF007 rewrote `zip(positions, positions[1:])` to
`itertools.pairwise`, which is only available from Python 3.10. Revert
to the zip form and silence the rule.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@gipert gipert merged commit b9dcc84 into main May 7, 2026
23 checks passed
@gipert gipert deleted the pre-commit-ci-update-config branch May 7, 2026 13:30
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