verigak / progress

Easy to use progress bars for Python
ISC License
1.41k stars 179 forks source link

Added type hints #104

Closed PaulConwayiii closed 2 years ago

PaulConwayiii commented 2 years ago

Added type hints throughout. Type hints were made in the pre-Python 3.9 style. Resolves issue #90 mypy reports the following: mypy . Success: no issues found in 7 source files

verigak commented 2 years ago

Hello and thanks for this. Note however that this PR breaks support for Python 2. We can debate for how long we should support it, but the decision should be explicit, not accidental.

PaulConwayiii commented 2 years ago

I guess I should have read setup.py more carefully.

Side note: I think adding something to README.rst about which Python versions is supported would be a good idea