Flake8 Line Continuation Plugin
Project Links
Meta
Classifiers
Framework
- Flake8
Environment
- Console
Intended Audience
- Developers
License
- OSI Approved :: Apache Software License
Programming Language
- Python
- Python :: 2.7
- Python :: 3
Topic
- Software Development :: Libraries :: Python Modules
- Software Development :: Quality Assurance
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.
1.0.5
Mar 17, 2020
1.0.4
Mar 06, 2020
1.0.3
May 29, 2019
1.0.2
May 29, 2019
1.0.1
May 29, 2019
1.0.0
May 29, 2019
0.0.0
May 29, 2019