Closed blueyed closed 6 years ago
flake8 complains about:
return [msg for msg in msgs if (msg[0] == 'notification' and msg[1] == b'redraw' and msg[2][0][0].startswith(b'popupmenu_'))]
and likes this better:
(E127 continuation line over-indented for visual indent)
black 18.6b4 turns it into:
black
return [ msg for msg in msgs if ( msg[0] == "notification" and msg[1] == b"redraw" and msg[2][0][0].startswith(b"popupmenu_") ) ]
where this plugin also adds extra indentation, but that is ok with flake8:
3.5.0 (mccabe: 0.6.1, pycodestyle: 2.4.0, pyflakes: 2.0.0) CPython 3.6.6 on Linux
flake8 complains about:
and likes this better:
(E127 continuation line over-indented for visual indent)
black
18.6b4 turns it into:where this plugin also adds extra indentation, but that is ok with flake8:
3.5.0 (mccabe: 0.6.1, pycodestyle: 2.4.0, pyflakes: 2.0.0) CPython 3.6.6 on Linux