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://gitlab.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.0.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for flake8_match-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b23a8b60d28b61dc839bc0629568282c1d65b0bbfb7628aa71be9ace9fef8c11 |
|
MD5 | 8dc901ed69adbc713e07a85ec6f714bb |
|
BLAKE2b-256 | 0e60878f1a12d415fc1fc24d4d3bf2e3d4f0b9f0d32cb499d66e36b2db2d6560 |