Conversation
added 6 commits
February 9, 2026 12:20
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
|
Collaborator
|
Could you use a symbol that's more commonly on keyboards, ie not |
Contributor
Author
|
No problem, i am far from my computer, i'll change when i come back.
Le dim. 15 févr. 2026, 23:41, andrewgsavage ***@***.***> a
écrit :
… *andrewgsavage* left a comment (hgrecco/pint#2268)
<#2268 (comment)>
Could you use a symbol that's more commonly on keyboards, ie not §? ^
would be good since this affects exponents
—
Reply to this email directly, view it on GitHub
<#2268 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4JRUQFRSZUH7WWY6WA2JDT4MDYX5AVCNFSM6AAAAACUPTRQAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMBVGMYTIMJXHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes Be able to use
as_ratiooption in PrettyFormatter #2256 (insert issue number)Executed
pre-commit run --all-filesorpixi run lint --all-fileswith no errorsThe change is fully covered by automated unit tests
Documented in docs/ as appropriate
Added an entry to the CHANGES file
as_ratiooption allowed in all formattersnew unit modifier to go for negative exponents instead of ratio:
§remove duplicated code from
pint.formatting.format(delegates.formatter._format_helpers.formatused instead)correct docstring of
delegates.formatter._format_helpers.format