Mypy has been failing to detect many errors involving code in distinct directories, since we moved to namespace packages. This PR fixes the mypy treatment of namespace packages, and fixes all errors detected by mypy.
Code changes:
ZarrMonitor.partitioner may now be any Partitioner and not just a CubedSpherePartitioner
fixed many mypy errors
Checklist
Before submitting this PR, please make sure:
[x] You have followed the coding standards guidelines established at Code Review Checklist.
[x] Docstrings and type hints are added to new and updated routines, as appropriate
[x] All relevant documentation has been updated or added (e.g. README, CONTRIBUTING docs)
[x] For each public change and fix in pace-util, HISTORY has been updated
[x] Unit tests are added or updated for non-stencil code changes
Purpose
Mypy has been failing to detect many errors involving code in distinct directories, since we moved to namespace packages. This PR fixes the mypy treatment of namespace packages, and fixes all errors detected by mypy.
Code changes:
Checklist
Before submitting this PR, please make sure:
pace-util
, HISTORY has been updated