Flake8 Continuation Plugin
A Flake8 plugin that checks for the line continuation style to be in the preferred method according to PEP-8, 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.
Installation
Via pip:
pip install flake8-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.
Metadata
Release files for flake8-continuation 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8-continuation-1.0.5.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_continuation-1.0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 12.3 kB
Release files / flake8-continuation-1.0.5.tar.gz
| Download URL | flake8-continuation-1.0.5.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ee0b40cbe8a96d7e20c7959f96c52fd84de7fcc96ae0cfb5214fa9325e2ea37
|
|
BLAKE2b-256 checksum How to use checksums |
b7b7495434d83190b3fee1201eab66c094acdbd54cf98a75d5abeab9aa5e2987
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
|
Release files / flake8_continuation-1.0.5-py2.py3-none-any.whl
| Download URL | flake8_continuation-1.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1da5d81c82179ccda05fa5128d51cf181f8a538022c4e2f6d8a9bfab278dcf88
|
|
BLAKE2b-256 checksum How to use checksums |
af0e8ce4d7a59d7be92087a08c7d7bb802c3283b4d68ba4dc3435d9092544764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
|