TorchDSP / torchsig

TorchSig is an open-source signal processing machine learning toolkit based on the PyTorch data handling pipeline.
MIT License
170 stars 38 forks source link

Add mypy workflow check and fix all mypy-found bugs #123

Closed lboegner closed 1 year ago

lboegner commented 1 year ago

Summary

Added mypy to GitHub workflows as a static type checker to raise code quality and safety bars. Fixed all mypy errors throughout codebase (type safety and actual bugs caught by mypy). Formatted using pyfmt. Added a PR template to guide developers towards writing and checking quality code locally prior to submitting PRs in a reproducible manner.

Test Plan

Ran suite of checks in list below.

Before Submitting