Skip to content

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