Skip to main content

Flake8 lint for quotes.

Project description

Build Status

Deprecation notice in 0.3.0

To anticipate multiline support, we are renaming --quotes to --inline-quotes. Please adjust your configurations appropriately.

Usage

If you are using flake8 it’s as easy as:

pip install flake8-quotes

Now you don’t need to worry about people like @sectioneight constantly complaining that you are using double-quotes and not single-quotes.

Configuration

By default, we expect single quotes (’) and look for unwanted double quotes (“). To expect double quotes (”) and find unwanted single quotes (‘), use the CLI option:

flake8 --inline-quotes '"'

or configuration option in tox.ini/setup.cfg.

inline-quotes = "

Project details


Download files

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

Source Distributions

flake8-quotes-0.5.0.zip (11.4 kB view details)

Uploaded Source

flake8-quotes-0.5.0.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file flake8-quotes-0.5.0.zip.

File metadata

  • Download URL: flake8-quotes-0.5.0.zip
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flake8-quotes-0.5.0.zip
Algorithm Hash digest
SHA256 f5ec3fc3d91d6dbb54974305008024d4402424f0ca43874908448c3bb3587e23
MD5 a476eb6fcdb478e1e22db878277ed25b
BLAKE2b-256 88086a00cb58890874e44301151bc9e3401356ada7d0e70c7ae3cae695828a01

See more details on using hashes here.

File details

Details for the file flake8-quotes-0.5.0.tar.gz.

File metadata

  • Download URL: flake8-quotes-0.5.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flake8-quotes-0.5.0.tar.gz
Algorithm Hash digest
SHA256 849304461ab44e804edfa5b70d013a60b266eda2a52b1c22072e85869914c31e
MD5 69ef0efeb139df421043fcb6371b6bf0
BLAKE2b-256 353472a30f91e846e1d1c87760966d5c0c3aa5b8fdf4ea02d89b17d91ca6e363

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page