lhespress / zigpy-espzb

GNU General Public License v3.0
28 stars 5 forks source link

Fix CI #1

Closed puddly closed 9 months ago

puddly commented 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.

lhespress commented 9 months ago

@puddly Thanks for your contribution.