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.4.0.zip (11.0 kB view details)

Uploaded Source

flake8-quotes-0.4.0.tar.gz (5.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.4.0.zip
Algorithm Hash digest
SHA256 a836587f69f144238324331e8d49be9d5c2ae9ba7a1a0330602951778a4bdb0b
MD5 df4fcf6438b1b78f4b8e686924a4df90
BLAKE2b-256 968aae92e12655937bfdda1b7af97fd7b937871a050b84400d3b547b8f2b18e7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.4.0.tar.gz
Algorithm Hash digest
SHA256 41e5a2406a25130fa1789ee6229cd423045f477b12c9f454b2676836bfe15d0b
MD5 94a8b62b8f94e12bbf2f1e8d91603da9
BLAKE2b-256 176cb41c4c999e4eff640cb64a67f5b51ffef5df582076ca7d08fff5e676e627

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