Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danie1k/python-flake8-if-checker
Flake8 "IF" statement complexity linter plugin
https://github.com/danie1k/python-flake8-if-checker
flake8 flake8-plugin python python-package
Last synced: 22 days ago
JSON representation
Flake8 "IF" statement complexity linter plugin
- Host: GitHub
- URL: https://github.com/danie1k/python-flake8-if-checker
- Owner: danie1k
- License: mit
- Created: 2019-02-22T21:40:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-09T20:31:39.000Z (about 4 years ago)
- Last Synced: 2024-10-03T11:41:45.807Z (about 1 month ago)
- Topics: flake8, flake8-plugin, python, python-package
- Language: Python
- Homepage: https://pypi.org/project/flake8-if-checker/
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![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