-
Notifications
You must be signed in to change notification settings - Fork 633
Enable pylint on Travis CI builds #592
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
Run pylint on all Travis CI builds for rules that we currently are conformant to. This adds a .pylintrc-wip file, which is intended to be a temporary stop-gap that contains the current rules that the project is conformant to. This allows us to incrementally enable pylint rules and have them them enforced in subsequent code, rather than fixing the violations all at once. The .pylintrc file is intended to be the file containing all the preferred set of rules that the project will eventually be compliant against.
Codecov Report
@@ Coverage Diff @@
## develop #592 +/- ##
========================================
Coverage 59.97% 59.97%
========================================
Files 63 63
Lines 5572 5572
========================================
Hits 3342 3342
Misses 2230 2230 |
|
||
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the | ||
# number of processors available to use. | ||
jobs=1 |
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.
Maybe use 0
since we might run it on our local multicore systems?
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.
Applies to both files.
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.
Sorry, I was out of town for the last few days. Do you still want me to change this?
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.
It's not too important. We can just do it next time we remove some other exclusions.
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 so far. I only looked through the entire "goal" .pylintrc
and it looks fine. Thanks for setting it up! 😄
This fixes #579, right? |
This PR only addresses the linter aspect of #579. |
Run pylint on all Travis CI builds for rules that we currently are
conformant to.
This adds a .pylintrc-wip file, which is intended to be a temporary
stop-gap that contains the current rules that the project is conformant
to. This allows us to incrementally enable pylint rules and have them
them enforced in subsequent code, rather than fixing the violations all
at once.
The .pylintrc file is intended to be the file containing all the
preferred set of rules that the project will eventually be compliant
against.
Currently the
.pylintrc
files are generated via the default rules:I don't really have a preference in terms of which linter is being
used, so let me know if you feel strongly about a particular linter.