Skip to content

Flake8 configuration should not use select #210

@sw

Description

@sw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions