Skip to main content

Indentation checker for flake8

Project description

flake8-zale codecov

This is a plugin for Flake8 that allows you to check the use of tabs, not spaces.

Installation

  1. Install from pypi
pip install flake8-zale
  1. Validate installation
flake8 --version

You should see flake8-zale in the list of installed plugins:

<flake8-version> (..., flake8-zale: <version>, ...) CPython 3.8.10 on Linux

Error codes

Code Description
EZL100 Spaces are used as indents

Usage

  • After installation, the plugin will be automatically applied at each launch;
  • If you want to check code only using the plugin, then you should use the --select option;
flake8 --select=EZL
# OR
flake8 --select=EZL100
  • If you want to ignore certain errors, then you should use the --ignore option;
flake8 --ignore=EZL
# OR
flake8 --ignore=EZL100

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_zale-0.2.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

flake8_zale-0.2.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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