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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file flake8-spaces-around-constants-1.0.tar.gz.

File metadata

  • Download URL: flake8-spaces-around-constants-1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for flake8-spaces-around-constants-1.0.tar.gz
Algorithm Hash digest
SHA256 7a7c47b0d3f404a36c8a49115ee8a43e96bc7b1b11e0b00a577e58e4b4b9b902
MD5 8c3bc9a3b20dd7b13661630064b93d7e
BLAKE2b-256 228828ecce46ef51264ce56880c04ba315c0fc73db47c66cd4ee805e6fea5b80

See more details on using hashes here.

File details

Details for the file flake8_spaces_around_constants-1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: flake8_spaces_around_constants-1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for flake8_spaces_around_constants-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6171780c08509366105e9bb38df016e0c1f91b0be403c36b140877c53928454a
MD5 0867c4a0ec979721e07dbe4e9070e109
BLAKE2b-256 1e0ba75ace3ea7cf7664a0e9ee36fd080274b74dd7e11a2a8670c1ac2265a62b

See more details on using hashes here.

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