adafruit / Adafruit_CircuitPython_ServoKit

CircuitPython helper library for the PWM/Servo FeatherWing, Shield and Pi HAT kits.
MIT License
70 stars 30 forks source link

Ran black, updated to pylint 2.x #18

Closed evaherrada closed 4 years ago

evaherrada commented 4 years ago

The 2 disables I added for import-outside-toplevel were a tiny bit questionable. I'm assuming there is a reason to import adafruit_motor.servo every time that a _Servo object is instantiated. However, that may not be the case, so check out lines 149 and 173 of adafruit_servokit.py