single-cell-data / SOMA

A flexible and extensible API for annotated 2D matrix data stored in multiple underlying formats.
MIT License
69 stars 9 forks source link

Type-check Pandas code and require newer pyarrow. #201

Closed thetorpedodog closed 4 weeks ago

thetorpedodog commented 4 weeks ago
thetorpedodog commented 4 weeks ago

To do this, I (after some trial and error):

  1. Removed all the entries from the [[tool.mypy.overrides]] module = [...] setting, so that mypy would no longer ignore any modules
  2. Ran update-requirements-txt to rebuild the requirements files.
  3. Looked at the mypy output from update-requirements-txt and re-enabled ignoring modules that had no type stubs (and also fixed any issues that arose).