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.3.0.zip (10.7 kB view details)

Uploaded Source

flake8-quotes-0.3.0.tar.gz (5.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.3.0.zip
Algorithm Hash digest
SHA256 b756aa95c2ca72d0bd44bd14acf4d82ff77973f0ad360fa3737f6986bcb2eda9
MD5 79808ae566cff02588d45023703ba3a3
BLAKE2b-256 45146eae7fd3a5a4de4c088558a325109916de7becf1d7c4ef6900412277d114

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0153aa22cd5299d855a781fb32dc88e6638334d592f6f74630442fca8d14760f
MD5 1d6eccb9fd0a8f1780ceedcb2c3dd95c
BLAKE2b-256 916a83a6414d1c969943ba2706117f6853813447256741a27cc4b446df03dcd6

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