Skip to content

some pylint fixes #8

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

Merged
merged 3 commits into from
Jul 18, 2018
Merged

some pylint fixes #8

merged 3 commits into from
Jul 18, 2018

Conversation

jerryneedell
Copy link
Contributor

fixed some pylint complaints-
the change at line 585 may be worth a review but I now see what pylint was complaining about.
if there is no "else" clause then then may as well use "if" for each test rather than "elif"
No functional change.

@jerryneedell jerryneedell requested a review from sommersoft July 18, 2018 21:22
Copy link
Collaborator

@sommersoft sommersoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I think pylint had a proper complaint. I would've written it with elif too, but this looks better. 😣

@sommersoft sommersoft merged commit 39dfd38 into adafruit:master Jul 18, 2018
tannewt pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 19, 2018
Updating https://github.com/adafruit/Adafruit_CircuitPython_RFM69 to 1.1.3 from 1.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_RFM69#8 from jerryneedell/jerryn_fixpylint
  > Merge pull request adafruit/Adafruit_CircuitPython_RFM69#7 from jerryneedell/jerryn_fix_freq

Updating https://github.com/adafruit/Adafruit_CircuitPython_STMPE610 to 1.0.1 from 0.8.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_STMPE610#5 from jerryneedell/jerryn_fixpylint
  > Merge pull request adafruit/Adafruit_CircuitPython_STMPE610#4 from jerryneedell/jerryn_fixspi
  > Merge pull request adafruit/Adafruit_CircuitPython_STMPE610#2 from adafruit/tannewt-patch-1
@jerryneedell jerryneedell deleted the jerryn_fixpylint branch November 18, 2018 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants