[ENH]: Add way to automatically fix flake8 errors · Issue #27588 · matplotlib/matplotlib · GitHub
Skip to content

[ENH]: Add way to automatically fix flake8 errors #27588

Description

@dstansby

Problem

When I'm developing, I'll often get flake8 errors, e.g.:

flake8...................................................................Failed
- hook id: flake8
- exit code: 1

lib/matplotlib/tests/test_colors.py:597:49: E231 missing whitespace after ','
lib/matplotlib/tests/test_colors.py:602:1: E302 expected 2 blank lines, found 1

It's quite annoying to have to go through and manually fix these, when it looks like they could easily be automatically fixed.

Proposed solution

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions