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://github.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.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

flake8_match-1.1.0-py2.py3-none-any.whl (3.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flake8_match-1.1.0.tar.gz.

File metadata

  • Download URL: flake8_match-1.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for flake8_match-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5a3ddcb124818e2dfe063bd9d44bac8c7f012cc5b238a1c8dacc2fc1fc500c89
MD5 9837a657932c5a7e4c9635f5753f8abe
BLAKE2b-256 ff6ddc0b620e270a58c461ee61b134ed1cc66f85342df6befdce60761d9edb5a

See more details on using hashes here.

File details

Details for the file flake8_match-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: flake8_match-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for flake8_match-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 29ea7dc0a00c655a754e9cf4650cc65e0d6e3c46db6c86272245310117e5c8f1
MD5 2b8fd0dafc5aadca64bae5e3d579c582
BLAKE2b-256 413c81bbb9ccb676470dff17afa4672ca5a6073f060ff99f3f4cc1251ea29f13

See more details on using hashes here.

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