-
Notifications
You must be signed in to change notification settings - Fork 71
Added ability to change touch threshold #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Error states `Too many public methods`. The allowed numbers are between 5 and 20. This can be increased in pylint by changing `--max-public-methods=` but this alters it globally.
Functionality still being added, however, the method changed significantly in discussion. Closing this PR and starting a new one. |
Reopening PR to keep track of previous changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just the one pylint comment thing
@@ -66,7 +66,8 @@ def light(self): | |||
"""Light level in SI Lux.""" | |||
return self._photocell.value * 330 // (2 ** 16) | |||
|
|||
class Express: | |||
|
|||
class Express: # pylint: disable-msg=R0904 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can do #pylint: disable=too-many-public-methods
. That's clearer.
Updating https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground to 0.9.1 from 0.9.0: > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#20 from kattni/touch-threshold
Included image for ReadTheDocs.
Change has been tested by myself and @jedgarpark successfully.