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 hashes)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

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