NVIDIA / earth2mip

Earth-2 Model Intercomparison Project (MIP) is a python framework that enables climate researchers and scientists to inter-compare AI models for weather and climate.
https://nvidia.github.io/earth2mip/
Apache License 2.0
187 stars 41 forks source link

Adding MyPy #116

Closed NickGeneva closed 10 months ago

NickGeneva commented 10 months ago

Earth-2 MIP Pull Request

Description

Just enables mypy with pre-commit, make file and pyproject toml. Getting all files up to standard will take much more work and can be done iteratively. Any new files going forward will need to pass mypy.

Closes: https://github.com/NVIDIA/earth2mip/issues/52

Checklist

Dependencies

NickGeneva commented 10 months ago

/blossom-ci

YichengDWu commented 10 months ago

I propose adding a badge for mypy. Checked with mypy