added type annotations to most common oublic methods for Bio/Align, A… by dimi1729 · Pull Request #5057 · biopython/biopython
…lignIO, Graphics, HMM, KEGG, and PDB
-
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License. -
I have read the
CONTRIBUTING.rstfile, have runpre-commit
locally, and understand that continuous integration checks will be used to
confirm the Biopython unit tests and style checks pass with these changes. -
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listed
already, or do not wish to be listed. (This acknowledgement is optional.)
Addresses #2236
Added type annotations to most getter functions in Align, AlignIO, Graphics, HMM, KEGG, and PDB modules. While this is not a completed effort, it will hopefully be useful to people who use these modules and like type hints. Since no added functionality was added and very little actual logic was changed, no additional tests were created, but all existing tests were ran.