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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.6.0.zip
Algorithm Hash digest
SHA256 55a6b9e419557874bf60880372efe61e16d1c23c9721e1bf09c3708936ec0dc3
MD5 f3f5061d9b593c282e924a125c483135
BLAKE2b-256 b8018dc4833058f9557984db23eb65972e64041e301d326cda9a8bf993b66806

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2a621185c53702693b86b4bb279d99eddf761dc4cd06d879a8910d77217d6f99
MD5 6178af778dc1a76ad5096ac516f8a383
BLAKE2b-256 d0dc16451bac72997fb31a64f4c3d3d7862faf112af22e148c4524a3f5633728

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