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.1.zip (11.4 kB view details)

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.5.1.zip
Algorithm Hash digest
SHA256 2eb4fe959519753b7a3acf5e35988f06e272294147e464f6f62e54c4ff6555d4
MD5 2903f264cf3dd4ce5030572502b4ed31
BLAKE2b-256 4aa585dd2bf7ffb493b20a920d54d015f79c95000ab858ca91d33c9c90f81e86

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2cee95ee11b7d9cc85d858daa4045a1551cc47c2965867a010c6b2c0079c569c
MD5 ffac625a75db5954d57d8becdf93541e
BLAKE2b-256 c015787b97ebcb120f48d7e6566e05086f140d11a46992a5f65632720b748595

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