flake8 plugin which forbids match statements (PEP 634)
Project description
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for flake8_match-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29ea7dc0a00c655a754e9cf4650cc65e0d6e3c46db6c86272245310117e5c8f1 |
|
MD5 | 2b8fd0dafc5aadca64bae5e3d579c582 |
|
BLAKE2b-256 | 413c81bbb9ccb676470dff17afa4672ca5a6073f060ff99f3f4cc1251ea29f13 |