Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade pint, which now uses h to denote hours instead of Planck's constant (making my workaround redundant). Also prefer shorter units as a general rule. * Upgrade pint to 0.19 in which h is the symbol for hour rather than Planck's constant Signed-off-by: F.N. Claessen <felix@seita.nl> * Simplify setup of unit registry Signed-off-by: F.N. Claessen <felix@seita.nl> * Add currencies to list of preferred units Signed-off-by: F.N. Claessen <felix@seita.nl> * Always prefer shorter units Signed-off-by: F.N. Claessen <felix@seita.nl> * Add todo to take into account magnitude when deciding what the shortest unit is (requires decimal registry) Signed-off-by: F.N. Claessen <felix@seita.nl> * Add todo to switch to decimal unit registry Signed-off-by: F.N. Claessen <felix@seita.nl> * Add module docstring Signed-off-by: F.N. Claessen <felix@seita.nl> * Changelog entry Signed-off-by: F.N. Claessen <felix@seita.nl>
- Loading branch information
Showing
5 changed files
with
33 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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