Closed puddly closed 9 months ago
The Zigpy projects rely on CI to automatically test, format the codebase, and release packages.
I've added some rudimentary unit tests so that CI at least passes and re-formatted the code.
To make sure your local development uses the same process, we use pre-commit as a git commit hook:
pip install pre-commit pre-commit install
The DeviceAddrMode type was also missing so I've implemented it as a stub object.
DeviceAddrMode
@puddly Thanks for your contribution.
The Zigpy projects rely on CI to automatically test, format the codebase, and release packages.
I've added some rudimentary unit tests so that CI at least passes and re-formatted the code.
To make sure your local development uses the same process, we use pre-commit as a git commit hook:
The
DeviceAddrMode
type was also missing so I've implemented it as a stub object.