Skip to main content

Check whether your constant values have leading or trailing spaces

Project description

# Flake8 spaces around constants plugin

Check for leading or trailing spaces in constant values (i.e. with an uppercase variable name).

This module provides a plugin for flake8, the Python code checker.

## Installation

You can install or upgrade flake8-spaces-around-constants with these commands:

`bash $ pip install flake8-spaces-around-constants $ pip install --upgrade flake8-spaces-around-constants `

## Plugin for Flake8

When both flake8 and flake8-spaces-around-constants are installed, the plugin is available in flake8:

`bash $ flake8 --version 2.0 (pep8: 1.4.5, flake8-spaces-around-constants: 1.0, pyflakes: 0.6.1) `

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

flake8-spaces-around-constants-1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

flake8_spaces_around_constants-1.0-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 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