-
Notifications
You must be signed in to change notification settings - Fork 6
pylint to precommit #3
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
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.
Actually, this failure brings up a question about how to run Pylint on /tests
. Please don't merge it yet. Thanks!
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.
@FoamyGuy If you're up for it, please add another pre-commit hook, similar to the pylint_examples
commit hook, except call it pylint_tests
, and for the disable
, only include disable=missing-docstring
(leave out invalid name
). Update the name:
and desciption:
to fit with what the hook will be doing.
If you're not up for it, please let me know and I'll take care of it. Thanks!
@kattni I think the new hook for pylint_tests is set up now. However it did flag several items in the existing test scripts. |
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.
Updating https://github.com/adafruit/Adafruit_CircuitPython_AS7341 to 1.0.6 from 1.0.5: > Merge pull request adafruit/Adafruit_CircuitPython_AS7341#11 from FoamyGuy/pylintrc_and_versions Updating https://github.com/adafruit/Adafruit_CircuitPython_BH1750 to 1.0.4 from 1.0.3: > Merge pull request adafruit/Adafruit_CircuitPython_BH1750#1 from FoamyGuy/pylintrc Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO08X to 1.0.6 from 1.0.5: > Merge pull request adafruit/Adafruit_CircuitPython_BNO08x#17 from FoamyGuy/pylintrc Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO08X_RVC to 1.0.4 from 1.0.3: > Merge pull request adafruit/Adafruit_CircuitPython_BNO08x_RVC#2 from FoamyGuy/pylintrc Updating https://github.com/adafruit/Adafruit_CircuitPython_CLUE to 2.2.9 from 2.2.8: > Merge pull request adafruit/Adafruit_CircuitPython_CLUE#40 from AlexColello/patch-2 Updating https://github.com/adafruit/Adafruit_CircuitPython_EMC2101 to 1.1.4 from 1.1.3: > Merge pull request adafruit/Adafruit_CircuitPython_EMC2101#5 from FoamyGuy/pylint_to_precommit Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 3.5.6 from 3.5.5: > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#124 from FoamyGuy/pylintrc > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#125 from brentru/rp2040 Updating https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731 to 3.0.2 from 3.0.1: > Merge pull request adafruit/Adafruit_CircuitPython_IS31FL3731#40 from dglaude/patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_LC709203F to 2.0.2 from 2.0.1: > Merge pull request adafruit/Adafruit_CircuitPython_LC709203F#9 from FoamyGuy/pylintrc_and_versions Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM6DS to 4.1.3 from 4.1.2: > Merge pull request adafruit/Adafruit_CircuitPython_LSM6DS#38 from FoamyGuy/pylintrc Updating https://github.com/adafruit/Adafruit_CircuitPython_MCP2515 to 1.0.8 from 1.0.7: > Merge pull request adafruit/Adafruit_CircuitPython_MCP2515#8 from FoamyGuy/pylintrc_and_versions Updating https://github.com/adafruit/Adafruit_CircuitPython_MLX90393 to 2.0.5 from 2.0.4: > Re-added pylint install to build.yml > Removed pylint process from github workflow > Merge pull request adafruit/Adafruit_CircuitPython_MLX90393#27 from SAK917/master Updating https://github.com/adafruit/Adafruit_CircuitPython_MS8607 to 1.0.6 from 1.0.5: > Merge pull request adafruit/Adafruit_CircuitPython_MS8607#6 from FoamyGuy/pylintrc Updating https://github.com/adafruit/Adafruit_CircuitPython_PCF8591 to 1.0.4 from 1.0.3: > Merge pull request adafruit/Adafruit_CircuitPython_PCF8591#3 from FoamyGuy/pylint_ignore_imports Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1306 to 2.11.2 from 2.11.1: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#59 from adamcandy/fix-page-addressing-mode-spi Updating https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO to 5.2.3 from 5.2.2: > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#66 from brentru/rp2040-example > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#65 from FoamyGuy/pylintrc Updating https://github.com/adafruit/Adafruit_CircuitPython_datetime to 1.1.1 from 1.1.0: > Merge pull request adafruit/Adafruit_CircuitPython_datetime#3 from FoamyGuy/pylint_to_pre_commit > Merge pull request adafruit/Adafruit_CircuitPython_datetime#4 from adafruit/jepler-patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_Hue to 1.1.5 from 1.1.4: > Merge pull request adafruit/Adafruit_CircuitPython_Hue#16 from OBITORASU/patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal to 2.2.1 from 2.2.0: > Merge pull request adafruit/Adafruit_CircuitPython_MatrixPortal#64 from FoamyGuy/pylintrc > Merge pull request adafruit/Adafruit_CircuitPython_MatrixPortal#69 from makermelissa/master Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA: > Added the following libraries: Adafruit_CircuitPython_SSD1680
No description provided.