| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add pint typing module | Jules Chéron | 2021-08-01 | 1 | -4/+20 |
| | | | | | | | | | | | | | | | - Quantity as Generic class - Add overloaded signature for __new__ Quantity - Add typing module as private - Add py.typed for PEP561 supports - Add overloaded signature for __new__ Quantity - Quantity as Generic class - Add type hints throughout the project - Add py.typed in package data in setup.cfg - Add type hints for decorators - Add type hints for public API of registry.py - Add type hints for units.py | ||||
| * | docs: fix a few simple typos | Tim Gates | 2021-05-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | There are small typos in: - README.rst - pint/measurement.py - pint/registry.py - pint/registry_helpers.py - pint/testsuite/test_quantity.py - pint/unit.py Fixes: - Should read `quantities` rather than `quanities`. - Should read `written` rather than `writen`. - Should read `results` rather than `resuls`. - Should read `implementation` rather than `implimentation`. - Should read `enthusiasts` rather than `entusiasts`. - Should read `dimensions` rather than `dimenstions`. Closes #1308 | ||||
| * | Sphinx fixes | Guido Imperiale | 2020-01-06 | 1 | -8/+9 |
| | | |||||
| * | Add None case to valid values | Hernan | 2019-12-28 | 1 | -3/+3 |
| | | |||||
| * | Linters | Hernan | 2019-12-28 | 1 | -4/+13 |
| | | |||||
| * | wraps enforces str or Unit as arguments | Hernan | 2019-12-28 | 1 | -4/+12 |
| | | | | | Close #489, #490 | ||||
| * | wraps(strict=True) now accept strings as arguments in the wrapper function | Hernan | 2019-12-28 | 1 | -6/+13 |
| | | | | | Closes #711, #723 | ||||
| * | Improved docs check/wraps | Hernan | 2019-12-28 | 1 | -21/+24 |
| | | |||||
| * | Streamline code | Hernan | 2019-12-28 | 1 | -7/+5 |
| | | |||||
| * | Add verification of number of args/params in check and wrap | Hernan | 2019-12-28 | 1 | -5/+17 |
| | | |||||
| * | Fixes W293 | Hernan | 2019-12-27 | 1 | -9/+9 |
| | | |||||
| * | Manual edits after pyment | Hernan | 2019-12-27 | 1 | -17/+4 |
| | | |||||
| * | Run pyment -w --convert -o numpydoc . | Hernan | 2019-12-27 | 1 | -20/+75 |
| | | |||||
| * | Remove redundant encoding information (utf8 is the default) | Guido Imperiale | 2019-12-13 | 1 | -1/+0 |
| | | |||||
| * | isort | Guido Imperiale | 2019-12-13 | 1 | -1/+1 |
| | | |||||
| * | black | Guido Imperiale | 2019-12-13 | 1 | -32/+62 |
| | | |||||
| * | Remove 2.7 support from codebase | Guido Imperiale | 2019-12-03 | 1 | -8/+5 |
| | | |||||
| * | Sphinx fixes | Guido Imperiale | 2019-09-13 | 1 | -1/+1 |
| | | |||||
| * | Sphinx fixes | Guido Imperiale | 2019-09-13 | 1 | -2/+2 |
| | | |||||
| * | Prevent loosing keywords | Quentin Peter | 2018-09-25 | 1 | -6/+6 |
| | | |||||
| * | @ureg.wraps now accurately binds kwargs | Jonathan Wheeler | 2018-07-20 | 1 | -1/+1 |
| | | |||||
| * | 656: | Jonathan Wheeler | 2018-07-19 | 1 | -13/+20 |
| | | | | Added in parsing for named keywords with default values | ||||
| * | Added, documented, and tested new Quantity.check function | Jonathan Wheeler | 2018-07-19 | 1 | -2/+2 |
| | | |||||
| * | Removed extraneous `import sys` | Jonathan Wheeler | 2018-07-13 | 1 | -3/+0 |
| | | |||||
| * | Added backwards compatibility for py27 | Jonathan Wheeler | 2018-07-13 | 1 | -12/+12 |
| | | |||||
| * | Attempt to extend support to <3.5 | Jonathan Wheeler | 2018-07-13 | 1 | -9/+23 |
| | | |||||
| * | Wraps handles keywords (closes #625, closes #651) | Jonathan Wheeler | 2018-07-13 | 1 | -1/+9 |
| | | |||||
| * | Remove positional string formatters | Hugo | 2017-10-19 | 1 | -1/+1 |
| | | |||||
| * | Properly implemnt skip check on check | Hernan Grecco | 2017-06-27 | 1 | -2/+6 |
| | | |||||
| * | Allow dimensionality check for non Quantity arguments | Hernan Grecco | 2017-06-27 | 1 | -2/+3 |
| | | |||||
| * | Put explicit comparison for shorter ureg.check args than values | Hernan Grecco | 2017-06-27 | 1 | -1/+1 |
| | | | | | | | | A dimensionless UnitsContainer (which bool evaluates to false) is not the same as non defined dimensional check Fix #532 | ||||
| * | Wraps now gets the canonical name of the unit when passed as string | Hernan Grecco | 2017-04-14 | 1 | -6/+6 |
| | | | | | Close #468 | ||||
| * | support dimensionless values in wraps | Martin Teichmann | 2016-11-22 | 1 | -6/+9 |
| | | | | | | | | when wrapping a function with UnitRegistry.wraps, we enforce that every argument that has a variable unit actually has a unit. This patch treats every argument without a unit as dimensionless. | ||||
| * | Fix for Python3 izip_longest -> zip_longest | Hernan Grecco | 2016-08-01 | 1 | -2/+1 |
| | | |||||
| * | use itertools.izip_longest, add test | Mark Mikofski | 2016-08-01 | 1 | -5/+3 |
| | | | | | | * recommended by @rec, default fillvalue is None * add test to testsuite.test_unit.test_wraps() | ||||
| * | patch to append None for extra results | Mark Mikofski | 2016-08-01 | 1 | -1/+4 |
| | | |||||
| * | Fixed wraps for None argument | Hernan Grecco | 2016-02-14 | 1 | -1/+1 |
| | | |||||
| * | Fixed bug on wraps when using a Unit argument | Hernan Grecco | 2016-02-13 | 1 | -3/+1 |
| | | |||||
| * | Updated copyright year | Hernan Grecco | 2016-02-12 | 1 | -1/+1 |
| | | |||||
| * | Implemented reference in wraps decorator. | Hernan Grecco | 2016-02-12 | 1 | -0/+217 |
| We use an API based on strings prefixed with the equal sign. Each parameter can be labeled with a unique name. Parameters can reference other using labels to build up relationships. Close #195 | |||||
