Merge pull request #71 from IntersectMBO/check_with_pyright
Check types with pyright
Check types with pyright
- cli_control.py: Simplify testnet_info loading logic and remove redundant variable assignment. - helpers.py: Refactor CustomEncoder to use consistent argument naming and remove unnecessary comments. - inspect_instance.py: Raise FileNotFoundError with a clear message if faucet address files are missing.
Added pyright as a pre-commit hook and to requirements-dev.txt for improved static type checking alongside mypy. This enhances Python type safety and code quality in the development workflow.