Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve version regex to capture typed version attributes #816

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

maxbachmann
Copy link
Contributor

This allows capturing the version when typing the version attribute using __version__: str = "1.0.1" as well.

Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.18%. Comparing base (411d2c4) to head (b474506).
Report is 71 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #816   +/-   ##
=======================================
  Coverage   83.18%   83.18%           
=======================================
  Files          73       73           
  Lines        4068     4068           
=======================================
  Hits         3384     3384           
  Misses        684      684           

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

Copy link
Collaborator

@henryiii henryiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@henryiii henryiii merged commit 2b3e4d2 into scikit-build:main Jul 19, 2024
51 checks passed
henryiii pushed a commit that referenced this pull request Aug 2, 2024
This allows capturing the version when typing the version attribute
using `__version__: str = "1.0.1"` as well.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

2 participants