hpcflow / hpcflow-new

Mozilla Public License 2.0
0 stars 5 forks source link

Check the types #682

Open dkfellows opened 2 months ago

dkfellows commented 2 months ago

We should check the types of the Python code. There are tools to do this.

Note that type checks are sufficiently expensive that I suggest they're best as a CI action rather than a commit hook. Commit hooks that take several minutes to run are onerous.

dkfellows commented 2 months ago

With experience, it's best to not support versions of Python prior to 3.9 for typing. The types were a lot more verbose in 3.8 and before.