You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This particular check is implemented in pycodestyle (formerly pep8) and has been disabled. That said, the text of the PEP used to insist on a line break after a binary operator instead of before. It was recently updated and the subject of discussion on:
In GitLab by @gitaarik on May 23, 2016, 11:11
Python version: Python 2.7.11+
flake8 installed using: pip
pip version: 8.1.2
setuptools version: 17.1.1
flake8 version:
2.5.4 (pep8: 1.7.0, mccabe: 0.4.0, pyflakes: 1.0.0) CPython 2.7.11+ on Linux
Error W503 shouldn't exist, it complains about line breaks before binary operators, but according to PEP8 it shouldn't matter as long as you keep it consistent in the project:
https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
So instead of flake8 showing a warning for this, it shouldn't.
I'm manually disabling this now in the
~/.config/flake8
with:The text was updated successfully, but these errors were encountered: