Skip to content

Add travis-ci config for running pylint #164

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 8 commits into from
May 16, 2018
Merged

Conversation

dylwhich
Copy link
Contributor

  • Runs pylint on all python files except ones in a directory containing a .circuitpython.skip file, per Use pylint to lint check all examples #2
  • Includes .pylintrc, mostly copied from adafruit/cookiecutter-adafruit-circuitpython but disabled missing-docstring, invalid-name, bad-whitespace, and Import-error as used for other examples.
  • Adds travis-ci configuration to run pylint

@kattni
Copy link
Contributor

kattni commented May 14, 2018

Thanks so much for doing this! We're super excited!

We're waiting on finalising adding what we're going to have pylint ignore before merging this.

Updated the pylintrc disable line to include a majority of the suggestions from @craigargh

A detailed explanation of each disable added can be found here: adafruit#2

I chose to leave out anything that Craig stated could or should be refactored, including things he said he didn't have the eq to test etc.
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you so much!

@kattni
Copy link
Contributor

kattni commented May 16, 2018

Ok, this is ready to merge! Thanks so much to @dylwhich for the great work!

Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

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

Great job getting this added!

@kattni kattni merged commit 7aeba05 into adafruit:master May 16, 2018
@kattni kattni mentioned this pull request May 23, 2018
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.

3 participants