Improve mypy compatibility by declaring units to be a field of PintType.
[ ] Closes #213
[x] Executed pre-commit run --all-files with no errors
[x] The change is fully covered by automated unit tests
[ ] Documented in docs/ as appropriate
[ ] Added an entry to the CHANGES file
I don't believe this change is docs-worthy, as it doesn't change any user-visible functionality (other than to make mypy more accepting of accessing the units field of PintType). It is implicitly covered by automated unit tests because it changes no functionality the unit tests were written to test.
Improve mypy compatibility by declaring
units
to be a field of PintType.pre-commit run --all-files
with no errorsI don't believe this change is docs-worthy, as it doesn't change any user-visible functionality (other than to make mypy more accepting of accessing the
units
field ofPintType
). It is implicitly covered by automated unit tests because it changes no functionality the unit tests were written to test.