summaryrefslogtreecommitdiff
path: root/pint
Commit message (Expand)AuthorAgeFilesLines
* Support for babel > 2.8developHernan2021-10-272-3/+16
* Implemented constants overhaulHernan2021-10-264-57/+86
* Merge pull request #1371 from keewis/custom-formatsJules Chéron2021-10-097-38/+186
|\
| * convert to a code blockKeewis2021-08-181-9/+11
| * preprocess the default formatKeewis2021-08-181-3/+3
| * fix the expected resultKeewis2021-08-181-1/+1
| * preprocess the spec for use in `format_unit`Keewis2021-08-181-2/+3
| * typoKeewis2021-08-181-1/+1
| * also pass the registry in `Measurement.__format__`Keewis2021-08-181-1/+1
| * explicitly pass the registry to `format_unit`Keewis2021-08-184-21/+30
| * extract the custom flags before passing them to the unit formatterKeewis2021-08-172-1/+12
| * don't preprocess the unit specKeewis2021-08-171-2/+3
| * move the siunitx code to the appropriate formatting functionKeewis2021-08-172-11/+2
| * add a test to check whether custom formats work with unitsKeewis2021-08-171-0/+13
| * use a different name as exampleKeewis2021-08-171-2/+2
| * report the conflicting format nameKeewis2021-08-171-1/+1
| * expose `register_unit_format`Keewis2021-08-171-1/+2
| * docstring for `register_unit_format`Keewis2021-08-171-0/+28
| * allow passing other options to `formatter`Keewis2021-08-171-8/+14
| * add back `_FORMATS` so `Measurement.__format__` does not breakKeewis2021-08-171-0/+47
| * rename _FORMATS to _FORMATTERSKeewis2021-08-171-7/+7
| * typoKeewis2021-08-161-1/+1
| * fall back to the default format for specs evaluating to `False`Keewis2021-08-151-0/+3
| * don't accept `kwspec`Keewis2021-08-151-13/+4
| * pre- and postprocessing for latexKeewis2021-08-141-2/+6
| * add back the formats using the register functionKeewis2021-08-141-0/+75
| * add a register function and convert _FORMATS to a dict of callablesKeewis2021-08-141-2/+11
| * empty the _FORMATS dictKeewis2021-08-141-46/+2
* | Merge pull request #1366 from keewis/application_registryJules Chéron2021-09-134-41/+99
|\ \
| * \ Merge branch 'master' into application_registryKeewis2021-08-203-10/+21
| |\ \ | | |/
| * | add docstrings to the application registryKeewis2021-08-141-0/+14
| * | add a test checking that saved registries are properly updatedKeewis2021-08-081-0/+12
| * | properly isolate the application registry using fixturesKeewis2021-08-081-26/+25
| * | use the public methodKeewis2021-08-081-1/+1
| * | remove _APP_DIRKeewis2021-08-082-7/+6
| * | save the actual registry in shared registry objectsKeewis2021-08-062-1/+4
| * | don't type check the value returned by `get_application_registry()`Keewis2021-08-051-1/+1
| * | allow setting the object returned by `get_application_registry`Keewis2021-08-051-0/+3
| * | assign _APP_REGISTRY to the new nameKeewis2021-08-051-1/+1
| * | reimplement `get_application_registry` and `set_application_registry`Keewis2021-08-052-7/+8
| * | add the application registry objectKeewis2021-08-051-1/+2
| * | manually override a few dunder methodsKeewis2021-08-051-0/+12
| * | add a draft of the registry wrapper classKeewis2021-08-051-0/+14
* | | fix examples section (numpy docstyle compatible)Martin K. Scherer2021-08-231-2/+2
* | | Fix typo in `square_meter` definitionNiko Savola2021-08-201-1/+1
| |/ |/|
* | Merge pull request #1361 from jules-ch/fix-1360Jules Chéron2021-08-082-4/+5
|\ \
| * | Fix #1360 parsing units with same exponents but different signJules Chéron2021-08-052-4/+5
| |/
* | don't rely on the tutorial dataset for testsKeewis2021-08-081-6/+16
|/
* Merge pull request #1321 from c-w/root-exceptionHernan Grecco2021-08-033-10/+45
|\
| * Add root exception for all pint errorsClemens Wolff2021-05-283-10/+45