alan-turing-institute / affinity-vae

Self-supervised method for disentanglement, clustering and classification of objects in multidimensional image data
BSD 3-Clause "New" or "Revised" License
13 stars 7 forks source link

Type hints #272

Closed crangelsmith closed 9 months ago

crangelsmith commented 10 months ago

Fixes #239

Warning: mypy will force type consistency across the codebase, do not be surprised if your pre-commits fail at the beginning while you get used to the structure. All typing is consistent with Python 3.10 and above (a reason my commits are a bit of a mess in this PR :/).

To do (another PR):