singularity-energy / open-grid-emissions

Tools for producing high-quality hourly generation and emissions data for U.S. electric grids
MIT License
72 stars 5 forks source link

Add annotations to all functions #27

Open miloknowles opened 2 years ago

miloknowles commented 2 years ago

Also low priority for now, but it would be nice to include types on all arguments and return types.

I propose that we wait until everything is refactored and in a more stable state, and then go through and add the types. I imagine you'll be doing a pass through the code to add more documentation/cleanup before the release anyways.

grgmiller commented 2 years ago

Guidelines on annotations: https://peps.python.org/pep-3107/