Flake8's IF statement complexity linter plugin
Project description
flake8-if-checker
Flake8's IF
statement complexity linter plugin.
Table of Contents
About the Project
This plugins adds one new flake8 warning.
IF01
Too many conditions in IF/ELIF Statement/Expression.
Installation
pip install flake8-if-checker
Configuration
If using the select option from flake8
be sure to enable the IF
category as well.
Known issues
- In Python 3.8 does not work with flake8 < 3.8
- Does not work with Python 3.9
License
MIT
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
Built Distributions
File details
Details for the file flake8-if-checker-0.3.0.tar.gz
.
File metadata
- Download URL: flake8-if-checker-0.3.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bc70c36341e062662293b1aec0f789d9ca46e28bbb036c643b1acb22f92d263 |
|
MD5 | 3e73af6757edf714b6e3c840edc754ce |
|
BLAKE2b-256 | f63198a22878f8bded586cab4c8a548ada251616316182b6c28e84e8233375d7 |
Provenance
File details
Details for the file flake8_if_checker-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: flake8_if_checker-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eebff73f984653e6c939aeec207949bb2f53a9cbd0fc81d004bb9127ddf7840 |
|
MD5 | dff6bd2a02a2130317b40ed4d4bc36ae |
|
BLAKE2b-256 | fad69d1feb5e948c1f69df572567b3f2ee71fd1fb290db51792ae337e265ab99 |
Provenance
File details
Details for the file flake8_if_checker-0.3.0-py2-none-any.whl
.
File metadata
- Download URL: flake8_if_checker-0.3.0-py2-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d26fac38381824c8a2bed4c82a2c5858fd32df31b684e894b6baa4467cd5ad |
|
MD5 | a486bf4413793f5701eca6e826ef371e |
|
BLAKE2b-256 | 2027ad132b544b829b3440180121c4d5a8da6f701a59257a62713eb38f2b17c1 |