Closed anthonytw closed 1 year ago
Hi, check the build log for pylint complaints: https://github.com/adafruit/Adafruit_Blinka_bleio/actions/runs/4761020028/jobs/8461884121?pr=62
You can use pre-commit
to run these checks locally: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code
I'll look at the complaints, thanks for mentioning the pre-commit option, I've not used that before. I'll recommit in a bit.
Okay, looks like that worked. Sorry the change is a bit larger now, I had to restructure things a bit to get it to stop complaining about "too many branches".
Previously the library only supported 16-bit standard UUID, but the spec allows for 32-bit UUIDs as well. Encountering a 32-bit UUID caused the code to raise an exception. This fix adds support for 32-bit standard UUIDs.
Resolves #61