Skip to content

Migrate from flake8 to black #1644

@chayim

Description

@chayim

Currently in redis-py we rely on flake8 for lint checking. The goal in migrating to black is to enforce opinionated, community-driven code formatting, that is PEP 8 compliant.

  • Changing our tox linter to run black locally, so that changes can be examined prior to commit
  • Enabling a pre-commit check with github hooks, for the local repo, so that ideally nothing is committed that doesn't pass black.
  • Changing our github action to run black checks (i.e fail when black generates changes)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions