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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.8.1.zip
Algorithm Hash digest
SHA256 edb03037945f45f74e7a4e148befdef8eaf579db7ab6069c0d77e06adddc093e
MD5 a47dd60e45f9c0e5d63af622e0b37448
BLAKE2b-256 8d59154d5e58b45ffb8eee2a265894d685d724db65a9801a653dfd032b90d9f3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8-quotes-0.8.1.tar.gz
Algorithm Hash digest
SHA256 668ec2fb0fbf1574a95f49e393364f8a114c7180e5cedc7377c5f4b5257e00fb
MD5 f04c699da47d41c1bf4cb532072d17b6
BLAKE2b-256 18719ab02f3777951b871f2ffaf9b7b6d11b6c77894d0260ab3f002e032b0c1e

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