summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:hgrecco/pintHEADmasterHernan Grecco2023-05-161-0/+4
|\
| * Merge pull request #1782 from dopplershift/downstream-metpyHernan Grecco2023-05-161-0/+4
| |\ | | | | | | Add MetPy to downstream status board
| | * Add MetPy to downstream status boardRyan May2023-05-161-0/+4
| | |
* | | In docs, import TypeAlias from typing_extensions as docs are always built ↵Hernan Grecco2023-05-161-2/+2
|/ / | | | | | | with the lowest Python version
* | Fix import in docsHernan Grecco2023-05-161-1/+1
|/
* Missing empty line in docHernan Grecco2023-05-161-0/+1
|
* Improved documentation about extending the registryHernan Grecco2023-05-163-26/+58
|
* Updated NumPy version in CHANGESHernan Grecco2023-05-151-0/+1
|
* Preparing release 0.220.22rc1Hernan Grecco2023-05-152-3/+4
|
* Python's 3.9 compatible typing annotationsHernan Grecco2023-05-1426-136/+167
|
* Merge branch 'master' of github.com:hgrecco/pintHernan Grecco2023-05-121-2/+2
|\
| * Merge pull request #1777 from coroa/extend-upcast-type-namesHernan Grecco2023-05-121-2/+2
| |\ | | | | | | Extend upcast_type_names with fully qualified names
| | * Fix upcast_type_namesJonas Hoersch2023-05-121-2/+2
| | |
* | | Updated readthedocs configHernan Grecco2023-05-121-2/+3
|/ /
* | Mark xfail certain ↵Hernan Grecco2023-05-121-1/+5
| | | | | | | | test_compat_downcast.py::test_array_quantity_creation_by_multiplication
* | Add pint-pandas to downstream_status.mdHernan Grecco2023-05-121-0/+5
|/
* Improved Downstream status pageHernan Grecco2023-05-121-1/+1
|
* Moved Pint downtream ProjectsHernan Grecco2023-05-121-0/+0
|
* Started downstream status pageHernan Grecco2023-05-121-0/+17
|
* SharedObject module should beHernan Grecco2023-05-112-2/+2
|
* Better SharedRegistryObjects creationHernan Grecco2023-05-114-7/+18
|
* Remove unnecessary import in utilHernan Grecco2023-05-111-2/+2
|
* Fix imports for Python 3.9Hernan Grecco2023-05-113-5/+8
|
* More typing improvementsHernan Grecco2023-05-113-8/+9
|
* Fix ruff fuck-upHernan Grecco2023-05-091-6/+7
|
* Typing related fixesHernan Grecco2023-05-0916-107/+77
|
* Remove deprecated usage in docs and fix introduced bug during refactoring.Hernan Grecco2023-05-052-8/+7
|
* Remove conversion to string in DimensionalityErrorHernan Grecco2023-05-051-1/+1
|
* Fixed Subscripted generics cannot be used with class and instance checksHernan Grecco2023-05-051-1/+1
|
* Add typing_extensionsHernan Grecco2023-05-051-0/+3
| | | | | Python's typing is a moving target. This allows the project to serve the users better in terms of typing support.
* Large commit to make Pint more typing friendlyHernan Grecco2023-05-0540-833/+1368
| | | | | | | | | | | | | | | | | | | | | In this very large commit we tackle a few aspects of Pint that makes it difficult to do static typing. 1. Dynamic classes became static: Quantity and Unit are now (for the most part) static classes with a static inheritance. This allows mypy/pylance and other type checker to properly inspect them. 2. Added types through out all the code. (WIP) 3. Refactor minor parts of the code to make it more typing homogeneous. Catch a few potential bugs in the way. 4. Add several TODOs that need to be addressed in 0.23 5. Moved some group and system and context code out of the PlainRegistry 6. Moved certain specialized methods out of the PlainRegistry.
* Fix 3.9 support. TypeAlias is supported in 3.10+Hernan Grecco2023-05-011-3/+6
|
* Fix 3.9 support. Protocol do not support |Hernan Grecco2023-05-011-2/+3
|
* Merge changes to modernize code from 0.21 to 0.22Hernan Grecco2023-05-0186-1038/+1377
|\ | | | | | | See #1751
| * Run pyupgrade --py39-plusHernan Grecco2023-05-019-10/+14
| |
| * Typing improvementsHernan Grecco2023-05-0133-490/+905
| | | | | | | | | | | | | | | | | | | | | | While there is still a lot of work to do (mainly in Registry, Quantity, Unit), this large PR makes several changes all around the code. There has not been any intended functional change, but certain typing improvements required code minor code refactoring to streamline input and output types of functions. An important experimental idea is the PintScalar and PintArray protocols, and Magnitude type. This is to overcome the lack of a proper numerical hierarchy in Python.
| * Tooling: remove bors and remove zest-releaserHernan Grecco2023-05-016-27/+28
| |
| * Reworked the Quantity, Unit, Measurement, Group and System class to be ↵Hernan Grecco2023-04-3017-89/+80
| | | | | | | | static to ease with typing
| * Run pyupgrade --py39-plus in all files except _vendor (again)Hernan Grecco2023-04-296-11/+11
| |
| * Run refurb --python-version 3.9 in codeHernan Grecco2023-04-2915-107/+101
| |
| * Run refurb --python-version 3.9 in pint/testsuiteHernan Grecco2023-04-2916-65/+60
| |
| * Run pyupgrade --py39-plus in all files except _vendorHernan Grecco2023-04-2940-238/+208
| |
| * Remove deprecated use_decimalHernan Grecco2023-04-293-39/+5
| |
| * Apply NEP-29: Pint now requires Python 3.9+ and NumPy 1.21+Hernan Grecco2023-04-298-19/+16
| |
* | Deleted version.pyHernan Grecco2023-05-011-6/+0
| |
* | Back to development: 0.22Hernan Grecco2023-05-012-1/+7
| |
* | Preparing release 0.210.21Hernan Grecco2023-05-012-2/+2
| |
* | Add zest releaser to setup.cfgHernan Grecco2023-05-011-0/+2
| |
* | Improved MANIFEST.inHernan Grecco2023-05-011-3/+4
|/
* Merge pull request #1762 from jules-ch/fix-upcast-typesJules Chéron2023-04-291-7/+7
|\ | | | | fix(upcast): Fix upcast function