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 configuration should not use select #210

Open
sw opened this issue Feb 19, 2024 · 0 comments
Open

Flake8 configuration should not use select #210

sw opened this issue Feb 19, 2024 · 0 comments

Comments

@sw
Copy link

sw commented Feb 19, 2024

The flake8 configuration in tox.ini uses the select option:

select = E,W,F

The problem is that this enables the W503 warning ("line break before binary operator") which is an incompatibility with the Black formatter and therefore disabled by default. The Black website has section on interoperability

The flake8 documentation states:

You usually do not need to specify this option as the default includes all installed plugin codes.

My suggestion would be to remove that line. Or is it needed for some other reason I'm not aware of?

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

No branches or pull requests

1 participant