Skip to main content

Flake8's IF statement complexity linter plugin

Project description

Build Status Code Coverage PyPI - Python Version PyPI MIT License Automatic PyPI Release

flake8-if-checker

Flake8's IF statement complexity linter plugin.

Table of Contents

  1. About the Project
  2. Installation
  3. Configuration
  4. Known issues
  5. License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-if-checker-0.3.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distributions

flake8_if_checker-0.3.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

flake8_if_checker-0.3.0-py2-none-any.whl (5.5 kB view details)

Uploaded Python 2

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

Hashes for flake8-if-checker-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7bc70c36341e062662293b1aec0f789d9ca46e28bbb036c643b1acb22f92d263
MD5 3e73af6757edf714b6e3c840edc754ce
BLAKE2b-256 f63198a22878f8bded586cab4c8a548ada251616316182b6c28e84e8233375d7

See more details on using hashes here.

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

Hashes for flake8_if_checker-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5eebff73f984653e6c939aeec207949bb2f53a9cbd0fc81d004bb9127ddf7840
MD5 dff6bd2a02a2130317b40ed4d4bc36ae
BLAKE2b-256 fad69d1feb5e948c1f69df572567b3f2ee71fd1fb290db51792ae337e265ab99

See more details on using hashes here.

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

Hashes for flake8_if_checker-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 73d26fac38381824c8a2bed4c82a2c5858fd32df31b684e894b6baa4467cd5ad
MD5 a486bf4413793f5701eca6e826ef371e
BLAKE2b-256 2027ad132b544b829b3440180121c4d5a8da6f701a59257a62713eb38f2b17c1

See more details on using hashes here.

Provenance

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