datacraft-dsc / starfish-py

Developer Toolkit for Decentralised Data Ecosystems
Apache License 2.0
5 stars 0 forks source link

Extensive Addition of Type Hints, Bug Fixes and Improved Code Quality #243

Closed superstructor closed 1 year ago

superstructor commented 1 year ago

Summary

This PR introduces comprehensive type hinting in the starfish-py library, the associated CLI tool, and all unit and integration tests. By adding type hints, we have managed to uncover and subsequently fix a number of bugs that had previously gone unnoticed.

Changes

Benefits of Type Hints

Downsides of Type Hints

How Has This Been Tested?

The changes have been tested with the existing suite of unit and integration tests. In addition, manual testing was performed on the CLI tool to ensure proper operation.

Next Steps

This is a significant step towards making starfish-py more robust and user-friendly. Moving forward, we should ensure that new code includes type hints, and we should continue to refine our existing type hints as the codebase evolves.