precice / fenics-adapter

preCICE-adapter for the open source computing platform FEniCS
GNU Lesser General Public License v3.0
29 stars 15 forks source link

Use mypy for static type checking #188

Open BenjaminRodenberg opened 2 weeks ago

BenjaminRodenberg commented 2 weeks ago

To make the API of the FEniCS adapter more stable, I think using a tool like mypy would be helpful. We can also automatize the type-checking process by introducing some workflows / pre-commit hooks in our CI pipeline (related to #187)

See https://mypy-lang.org/.