lanl / LaGriT

Los Alamos Grid Toolbox (LaGriT) is a library of user callable tools that provide mesh generation, mesh optimization and dynamic mesh maintenance in two and three dimensions.
https://lanl.github.io/LaGriT/
Other
116 stars 48 forks source link

Type annotations for PyLaGriT #268

Open ongchi opened 1 month ago

ongchi commented 1 month ago

Hi there!

I've been using PyLaGriT for a while couple weeks, and I've noticed that it could benefit from the addition of type annotations. Python 3.5 introduced type hinting, and since then, it has become a widely adopted practice in the Python community.

It's really helpful because many potential errors could be hinted before runtime, and this feature is not only for IDE but any modern code editor would supported. If this project would receive external PRs (BTW, I believe the CLA site is down), I'm also happy to contribute.