Skip to content
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

flake8 config: ignore W503 #135

Merged
merged 2 commits into from
Apr 12, 2023
Merged

flake8 config: ignore W503 #135

merged 2 commits into from
Apr 12, 2023

Conversation

AlexWaygood
Copy link
Member

This rule contradicts PEP8, which now says that you should write multiline expressions like this:

if (
    foo
    and bar
):

When W503 was originally introduced, PEP8 had a different recommendation:

if (
    foo and
    bar
):

This PR is needed for #132, which has some lines that go against W503.

@hauntsaninja hauntsaninja merged commit 25b0971 into python:main Apr 12, 2023
@AlexWaygood AlexWaygood deleted the W503 branch April 12, 2023 08:09
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