Case studies
tskit
- I created an issue to add type-annotation.
- Sent a pull-request.
- Add
mypyto pre-commit - Add
mypyto GitHub Actions. - Add
.mypy.iniexcluding all the current errors.
- Add
It was rejected based on a decision made in 2020.
I should have searched for this more, before putting in the work.
biopython
It already had type-annotation in some places and mypy enabled in the pre-commit and in the CI.
pyranges
There is alread an issue from 2023 and a corresponding pull-request.
I asked on the issue if they would be interested in smaller PRs. Apparently a new code-base is being developed at pyranges_1.x.
anndata
I found some type-annotation, but no use of mypy.
- Opened an issue to add mypy and type-annotation.
- Created a pull-request.
linkchecker
I found no type annotation in the linkchecker project.
- Opened an issue to add mypy and type-annotation
- Created a pull-request to setup mypy in the CI and add configuration file.
veusz
I found no type-annotation in the veusz project.
-
Opened an issue to add mypy to the CI and add type-annotation
-
Created a pull-request
-
mypywas complaining about some missing type stubs. So I installedh5py-stubs. That made mypy complain about other things that lead me opening an issue about the try/except block around import h5py which might be a left-over from early development when h5py was not a hard requirement of the project. -
I have another branch from which I am going to send a PR once the first one is accepted.