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]
Metadata
Release files for flake8-match 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8_match-1.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_match-1.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.2 kB
Release files / flake8_match-1.1.0.tar.gz
| Download URL | flake8_match-1.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a3ddcb124818e2dfe063bd9d44bac8c7f012cc5b238a1c8dacc2fc1fc500c89
|
|
BLAKE2b-256 checksum How to use checksums |
ff6ddc0b620e270a58c461ee61b134ed1cc66f85342df6befdce60761d9edb5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / flake8_match-1.1.0-py2.py3-none-any.whl
| Download URL | flake8_match-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
29ea7dc0a00c655a754e9cf4650cc65e0d6e3c46db6c86272245310117e5c8f1
|
|
BLAKE2b-256 checksum How to use checksums |
413c81bbb9ccb676470dff17afa4672ca5a6073f060ff99f3f4cc1251ea29f13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|