Skip to content

Consider using wemake-python-styleguide #5

Open
@sobolevn

Description

@sobolevn

wemake-python-styleguide is the strictest python linter out there.

I see that you already use flake8 and pylint.
That's great! Because wemake-python-styleguide combines these two together.
flake8 is great due to its simplicity and plugin system. And wemake-python-styleguide is just a flake8 plugin on steroids. It just works as a regular plugin. On the other hand, we have more rules than pylint (and mostly compatible with it), so it can be easily replaced. This can save you from the configuration hell in setup.cfg you currently have.

That's how output looks like:

output

We also have a nice Github Action with pre-installed reviewdog that can format errors in a nice human-readable manner like so:

reviewdog

Repo: https://github.com/wemake-services/wemake-python-styleguide
Github Action: https://github.com/marketplace/actions/wemake-python-styleguide
Related to #3, because we already have isort installed.

If it is interesting, I can help with the migration process.

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