Skip to content

Bump pylint to 1.5.1#275

Merged
josephharrington merged 1 commit intomasterfrom
pylint151
Dec 14, 2015
Merged

Bump pylint to 1.5.1#275
josephharrington merged 1 commit intomasterfrom
pylint151

Conversation

@josephharrington
Copy link
Copy Markdown
Contributor

This fixes currently failing lint jobs. I also regenerated the
pylintrc file (pylint --generate-rcfile) and added back some of our
custom rule ignores.

Pylint 1.4.2 has an incompatibility with the newest version of one of
its dependencies (astroid). This has started causing our lint jobs to
fail with a bunch of errors that look like:

E: 37, 8: Undefined variable 'self' (undefined-variable)

Since we have only specified exact versions of our dependencies in
requirements.txt (and not the exact versions of dependencies'
dependencies, etc.) it's still possible for third party libraries to
break something without a change on our side.

We should switch over to using peep
(https://pypi.python.org/pypi/peep) or something similar.

This fixes currently failing lint jobs. I also regenerated the
pylintrc file (`pylint --generate-rcfile`) and added back some of our
custom rule ignores.

Pylint 1.4.2 has an incompatibility with the newest version of one of
its dependencies (astroid). This has started causing our lint jobs to
fail with a bunch of errors that look like:

```
E: 37, 8: Undefined variable 'self' (undefined-variable)
```

Since we have only specified exact versions of our dependencies in
requirements.txt (and not the exact versions of dependencies'
dependencies, etc.) it's still possible for third party libraries to
break something without a change on our side.

We should switch over to using peep
(https://pypi.python.org/pypi/peep) or something similar.
@boxcla
Copy link
Copy Markdown

boxcla commented Dec 13, 2015

Verified that @josephharrington has signed the CLA. Thanks for the pull request!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Most additions and changes in this file are just new defaults from pylint --generate-rcfile. The only changes I made to the new default rcfile were to these disable= rules and some of the flags we had already changed (e.g., colorized output, no full reports).

josephharrington added a commit that referenced this pull request Dec 14, 2015
@josephharrington josephharrington merged commit 05963db into master Dec 14, 2015
@tjlee0909 tjlee0909 deleted the pylint151 branch April 4, 2016 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants