deshaw / versioned-hdf5

Versioned HDF5 provides a versioned abstraction on top of h5py
https://deshaw.github.io/versioned-hdf5/
Other
76 stars 20 forks source link

Sane mypy settings #367

Closed crusaderky closed 1 month ago

crusaderky commented 1 month ago

Bulk import sane settings for mypy from another project.

Downstream of this, mypy reports 21 errors, all nontrivial. Having a fully green mypy run would take substantially more effort and is out of scope for this PR.

peytondmurray commented 1 month ago

This seems like a step in the right direction. I haven't added mypy in prior to this because most of this project is untyped and I've been adding type annotations where I can; and because h5py itself is untyped. But if we're going to move in the right direction and actually have type checking, we've got to start somewhere. Thanks for this!