Skip to content

Ignore flake8 W504#110

Merged
jacobperron merged 1 commit intomasterfrom
jacob/flake8_ignore_w504
Oct 25, 2018
Merged

Ignore flake8 W504#110
jacobperron merged 1 commit intomasterfrom
jacob/flake8_ignore_w504

Conversation

@jacobperron
Copy link
Copy Markdown
Contributor

@jacobperron jacobperron added the in progress Actively being worked on (Kanban column) label Oct 24, 2018
@jacobperron
Copy link
Copy Markdown
Contributor Author

Specifically, this ignores "line break after binary operator".

@jacobperron
Copy link
Copy Markdown
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron
Copy link
Copy Markdown
Contributor Author

jacobperron commented Oct 25, 2018

Looks like W605 "invalid escape sequence" is affecting us. It was also introduced in flake8 3.6 (using pycodestyle 2.4). Seems like most, of the warnings are due to regex's and can be resolved by using raw strings. We can go forward and fix the warnings in the affected packages or add another ignore here.

It does not appear that W606 or E252 (also new in pycodestyle 2.4) are causing any issues.

@dirk-thomas
Copy link
Copy Markdown
Contributor

If it is only in a few cases I would rather lean towards addressing them.

@jacobperron jacobperron merged commit c2cd5d6 into master Oct 25, 2018
@jacobperron jacobperron removed the in progress Actively being worked on (Kanban column) label Oct 25, 2018
@jacobperron jacobperron deleted the jacob/flake8_ignore_w504 branch October 25, 2018 16:53
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