-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update PyLint config for latest version. #2396
Conversation
Done via: $ pylint --version No config file found, using default configuration pylint 1.6.4, astroid 1.4.8 Python 2.7.12 (default, Jul 17 2016, 01:21:14) [GCC 4.8.4] $ pylint --generate-rcfile > scripts/pylintrc_v1.6.4_default
This is to make it easier to move defaults over to the newly generated file.
This is the final section, hence the original config has also been deleted.
# | ||
[MASTER] | ||
|
||
# Specify a configuration file. | ||
# DEFAULT: rcfile= | ||
#rcfile= |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
round-builtin, | ||
hex-method, | ||
nonzero-method, | ||
map-builtin-not-iterating, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -232,146 +260,218 @@ good-names = i, j, k, ex, Run, _, | |||
id, | |||
|
|||
# Bad variable names which should always be refused, separated by a comma | |||
# DEFAULT: bad-names=foo,bar,baz,toto,tutu,tata | |||
bad-names=foo,bar,baz,toto,tutu,tata |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM |
Fixes #1256.
This PR diff will probably just look like a giant splat. I went through this process with tiny commits to make the review easier. I started with the default config side-by-side with ours. Then I narrowed down ours to only edited values. Then I moved over those edited values a few at a time.
Worth noting: My main goal was to be able to increase
jobs=1
after this PR is merged, to speed up PyLint.