caltechlibrary / iga

IGA is the InvenioRDM GitHub Archiver, a standalone program as well as a GitHub Action that lets you automatically archive GitHub software releases in an InvenioRDM repository.
https://caltechlibrary.github.io/iga/
Other
8 stars 1 forks source link

Add type hints to the Python code #15

Open mhucka opened 1 year ago

mhucka commented 1 year ago

There are no type hints in the code, and there should be.

panta-123 commented 2 months ago

Option:

  1. mypy: https://mypy.readthedocs.io/en/stable/
  2. pylyzer: mtshiba.github.io/pylyzer/ mat be others...

mypy seems to be very popular. Let us know in comments which one do we choose.

mhucka commented 1 month ago

Mypy seems more well-known and also seems good. It was going to be the one I would have looked at first, if I had time to work on this.