Skip to main content

Flake8 Line Continuation Plugin

Project description

# flake8-continuation

A [flake8](http://flake8.readthedocs.org/en/latest/) plugin that checks for the line continuation style to be in the [preferred method according to PEP-8](https://www.python.org/dev/peps/pep-0008/#maximum-line-length), specifically:

>The preferred way of wrapping long lines is by using Python’s implied line continuation inside parentheses, brackets and braces. Long lines can be broken over multiple lines by wrapping expressions in parentheses. These should be used in preference to using a backslash for line continuation.

## Warnings

This package adds a single new warning, C092: prefer implied line continuation inside parentheses, brackets, and braces as opposed to a backslash. That error code was picked because ord(’') == 92.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-continuation-1.0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file flake8-continuation-1.0.1.tar.gz.

File metadata

  • Download URL: flake8-continuation-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for flake8-continuation-1.0.1.tar.gz
Algorithm Hash digest
SHA256 50e0e8d933a689dd4aa1375e4ffef9d148d2c135894dbca32fb87efc70171067
MD5 94cfb5be3602b274a4e494e8943796cc
BLAKE2b-256 466465ef4794c901f794d4361e5c16cecf3d6d323dd1aba6c72022b4e63e06fe

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