Skip to content

Tweak variable names#3019

Merged
janosh merged 7 commits intomasterfrom
simplify-signed-float-fmt
May 29, 2023
Merged

Tweak variable names#3019
janosh merged 7 commits intomasterfrom
simplify-signed-float-fmt

Conversation

@janosh
Copy link
Copy Markdown
Member

@janosh janosh commented May 29, 2023

Also use modern f"{float:+}" for explicit + signs.

@janosh janosh added the housekeeping Moving around or cleaning up old code/files label May 29, 2023
janosh added 4 commits May 29, 2023 09:31
E       TypeError: sequence item 3: expected str instance, int found
>               label += f"{ads:+}"
E               ValueError: Sign not allowed in string format specifier
@janosh janosh enabled auto-merge (squash) May 29, 2023 18:38
janosh added 2 commits May 29, 2023 11:59
>       assert all_latex == correct_latex
E       AssertionError: assert ['Li$^{+1}$',...$^{-4}$', ...] == ['Li$^{+1}$',...$^{-4}$', ...]
@janosh janosh merged commit 9e400f2 into master May 29, 2023
@janosh janosh deleted the simplify-signed-float-fmt branch May 29, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

housekeeping Moving around or cleaning up old code/files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant