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.7.0.zip (11.8 kB view details)

Uploaded Source

flake8-quotes-0.7.0.tar.gz (6.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.7.0.zip
Algorithm Hash digest
SHA256 af705b36f92cd3b5a15bf53b2e92167fbae62bc1561886e8095fd37f39f2c8ab
MD5 61f2a9c80cd26fe984f7745bf9c8beca
BLAKE2b-256 4ec47c11812b83812b67a36327176a2390039a044e9186a6bb8eaad61881c56b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.7.0.tar.gz
Algorithm Hash digest
SHA256 61bcc0173e3b18887542c6bc82e8ddfa6651c9a7e5af8c0e0fa597be7b41aea3
MD5 44df157dfed6028362dcbf5d12786634
BLAKE2b-256 2935cae0c2a47243bdb51b778647fa6382163f867a327d1cdd8ee7a526bf02a4

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