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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.5.2.zip
Algorithm Hash digest
SHA256 f704be2498fd4b3a1e77e219b9ef234b585a623fb8bb4e28ef72feb8da4a0fbb
MD5 cfff07badb70f17cb11a989b46375fa2
BLAKE2b-256 a92337858b951eab2a8637becc3b023a3e6ca0c52d00264ac54441eaf81ac603

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.5.2.tar.gz
Algorithm Hash digest
SHA256 58bf889ca8f5fb6c6e83771d12b993836ff636ba26799ea48c3f391bb24b6f19
MD5 bad38a347a7b2190c2c625b0edf0b53a
BLAKE2b-256 3020bb4838f8403830bba086dbb6f3e1d71623e99e144cfbe3eda838bd249068

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