flake8行延续插件
flake8-continuation的Python项目详细描述
一个Flake8插件,它检查preferred method according to PEP-8中是否有行继续样式,特别是:
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.
警告
这个包添加了一个新的警告,C092: prefer implied line continuation inside parentheses, brackets, and braces as opposed to a backslash。选择该错误代码是因为ord('\\') == 92。