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

Quickfix for pint v0.20 (whitespace not allowed in alias) #41

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

danielhuppmann
Copy link
Member

Remove whitespaces in alias-definitions in line with stricter rules introduced in pint v0.20.

Closes #40

@danielhuppmann danielhuppmann self-assigned this Oct 27, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #41 (b914d58) into main (7dfaa7f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   73.10%   73.10%           
=======================================
  Files           4        4           
  Lines         145      145           
=======================================
  Hits          106      106           
  Misses         39       39           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@danielhuppmann danielhuppmann marked this pull request as ready for review October 27, 2022 06:41
Copy link
Contributor

@khaeru khaeru left a comment

Choose a reason for hiding this comment

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

Thanks!

Unfortunately pint development is kind of opaque—no notes in the change log or migration hints for this particular change, so we're left to inspect the commit history to guess what's new 🤷🏾‍♂️

That could reveal a different way to adjust our definitions, but for now this is a fine mitigation to keep iam-units usable. I'll merge and then release sometime today.

@khaeru khaeru merged commit c21a9ce into IAMconsortium:main Oct 27, 2022
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.

Adjust for pint 0.20
3 participants