openslide / openslide-python

Python bindings to OpenSlide
https://openslide.org/
GNU Lesser General Public License v2.1
374 stars 183 forks source link

Add type hints to `_convert` and `lowlevel`; add type-checking infrastructure #281

Closed bgilbert closed 1 month ago

bgilbert commented 1 month ago

Only support type-checking on Python 3.10+, at least for now.

Prep for #260. I'll rebase that PR after this lands.

openslide-bot commented 1 month ago

DCO signed off :heavy_check_mark:

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.