Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Latest commit

 

History

History
43 lines (28 loc) · 1009 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 1009 Bytes

ARHIVED

it is feature complete and I don't plan on updating it further


build status pre-commit.ci status

flake8-match

flake8 plugin which forbids match statements (PEP 634)

installation

pip install flake8-match

flake8 codes

Code Description
MAT001 do not use match statements

rationale

lol

as a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

-   repo: https://github.com/pycqa/flake8
    rev: 3.8.4
    hooks:
    -   id: flake8
        additional_dependencies: [flake8-match==1.0.0]