All Projects → asottile → flake8-match

asottile / flake8-match

Licence: MIT license
flake8 plugin which forbids match statements (PEP 634)

Programming Languages

python
139335 projects - #7 most used programming language

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]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].