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.8.0.zip (11.7 kB view details)

Uploaded Source

flake8-quotes-0.8.0.tar.gz (5.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.8.0.zip
Algorithm Hash digest
SHA256 3ff51fd5228c5ad7cbdbc1749d7901c2ce3a09b9ff040288b0ea48205a97f25e
MD5 5dc213a6970e679053e526b521f93e1b
BLAKE2b-256 fa228acf4436d94e9ca61dbfe2960d9d4fa22c62d8accb18d74a003761ab4efa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.8.0.tar.gz
Algorithm Hash digest
SHA256 15b7f9c7d640d969840a1d701db1bbf14ccd10ac0e613460c878003e3a34585e
MD5 9f1b965e0aafac3f3f4203be7891dadd
BLAKE2b-256 e651e745be23af3db0041421c686216e0cbd43ec4f4281745b5e51b47eb8daad

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