Metadata-Version: 2.1
Name: flake8-if-checker
Version: 0.3.0
Summary: Flake8's IF statement complexity linter plugin
Home-page: https://github.com/danie1k/python-flake8-if-checker
Author: Daniel Kuruc
Author-email: daniel@kuruc.dev
License: MIT
Keywords: pep8 flake8 conditional complexity
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Framework :: Flake8
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=2.7, <3.9
Requires-Dist: flake8 (>3.2.0)
Provides-Extra: lint
Requires-Dist: flake8 (>=3.0.0) ; extra == 'lint'
Requires-Dist: isort (>=4.3.0) ; extra == 'lint'
Requires-Dist: pylint (>=1.9.0) ; extra == 'lint'
Provides-Extra: py3lint
Requires-Dist: black (>=18.6b2) ; extra == 'py3lint'
Requires-Dist: mypy (>=0.790) ; extra == 'py3lint'
Requires-Dist: typing ; extra == 'py3lint'
Provides-Extra: tests
Requires-Dist: coverage (>=5.0) ; extra == 'tests'
Requires-Dist: mock ; extra == 'tests'
Requires-Dist: pytest (>=4.6.0) ; extra == 'tests'
Requires-Dist: pytest-sugar ; extra == 'tests'

[![Build Status](https://travis-ci.org/danie1k/python-flake8-if-checker.svg?branch=master)](https://travis-ci.org/danie1k/python-flake8-if-checker)
[![Code Coverage](https://codecov.io/gh/danie1k/python-flake8-if-checker/branch/master/graph/badge.svg?token=y4x0mbm2XT)](https://codecov.io/gh/danie1k/python-flake8-if-checker)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flake8-if-checker)](https://pypi.org/project/flake8-if-checker/)
[![PyPI](https://img.shields.io/pypi/v/flake8-if-checker)](https://pypi.org/project/flake8-if-checker/)
[![MIT License](https://img.shields.io/github/license/danie1k/python-flake8-if-checker)](https://github.com/danie1k/python-flake8-if-checker/blob/master/LICENSE)
[![Automatic PyPI Release](https://github.com/danie1k/python-flake8-if-checker/workflows/PyPi%20Release/badge.svg)](https://github.com/danie1k/python-flake8-if-checker/actions)

# flake8-if-checker

[Flake8](https://pypi.org/project/flake8/)'s `IF` statement complexity linter plugin.


## Table of Contents

1. [About the Project](#about-the-project)
1. [Installation](#installation)
1. [Configuration](#configuration)
1. [Known issues](#known-issues)
1. [License](#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](http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select)
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


