Skip to content

Correct lint errors and silence W504#5830

Merged
JukkaL merged 1 commit intopython:masterfrom
emmatyping:flake8fix
Oct 24, 2018
Merged

Correct lint errors and silence W504#5830
JukkaL merged 1 commit intopython:masterfrom
emmatyping:flake8fix

Conversation

@emmatyping
Copy link
Copy Markdown
Member

Flake8 3.6.0 is a bit more strict on some things, so this fixes the complaints and silences W504 (line break after operator) since that is very common in our code (and we seem to silence W503 too).

For an example of what the failing flake8 output looks like, see https://travis-ci.org/python/mypy/jobs/445480219.

Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning up the lint errors! I particularly like that we can now catch missing spaces around = in argument default values.

@JukkaL JukkaL merged commit e09e727 into python:master Oct 24, 2018
@emmatyping emmatyping deleted the flake8fix branch January 31, 2019 02:33
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