Skip to main content

flake8 plugin which forbids match statements (PEP 634)

Project description

Build Status Azure DevOps coverage 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://gitlab.com/pycqa/flake8
    rev: 3.8.4
    hooks:
    -   id: flake8
        additional_dependencies: [flake8-match==1.0.0]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_match-1.0.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

flake8_match-1.0.0-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page