diff options
author | Jules Chéron <jules.cheron@gmail.com> | 2021-05-22 23:03:34 +0200 |
---|---|---|
committer | Jules Chéron <jules.cheron@gmail.com> | 2021-08-01 20:22:11 +0200 |
commit | c60e1af833391a60a82f3c47460fca899e220de5 (patch) | |
tree | c9fbae3c8633e8d3cf6d36a7e1e6d91285394c14 /CHANGES | |
parent | 78769ec967a24cd57c9fb6474aff2aa3708ca483 (diff) | |
download | pint-c60e1af833391a60a82f3c47460fca899e220de5.tar.gz |
Add pint typing module
- 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
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ Pint Changelog - pint no longer supports Python 3.6 - Minimum Numpy version supported is 1.17+ +- Add supports for type hints for Quantity class. Quantity is now a Generic (PEP560). +- Add support for [PEP561](https://www.python.org/dev/peps/pep-0561/) (Package Type information) 0.17 (2021-03-22) |