[code-quality] E122 continuation line missing indentation or outdented

2018-02-13 Thread Madeleine Thompson
I have what I think may be a bug in flake8. Consider this source file, test.py: open({ 'a': len([1, 2, 3]), 'b': [ 'c' ] }) open({ 'a': False, 'b': [ 'c' ] }) Notice that the two blocks only differ in the call to "len." If I run flake8 on i

Re: [code-quality] E122 continuation line missing indentation or outdented

2018-02-13 Thread Ian Stapleton Cordasco
Madeleine, That's an excellent find. The underlying bug is in pycodestyle, though. You can report the issue on github.com/PyCQA/pycodestyle Cheers, Sent from my phone with my typo-happy thumbs. Please excuse my brevity On Feb 13, 2018 15:07, "Madeleine Thompson" wrote: > I have what I think m

Re: [code-quality] E122 continuation line missing indentation or outdented

2018-02-13 Thread Eric Casteleijn
An issue exists for this: https://github.com/PyCQA/pycodestyle/issues/678 On Tue, Feb 13, 2018 at 1:12 PM, Ian Stapleton Cordasco < [email protected]> wrote: > Madeleine, > > That's an excellent find. The underlying bug is in pycodestyle, though. > You can report the issue on github.com

Re: [code-quality] E122 continuation line missing indentation or outdented

2018-02-13 Thread Eric Casteleijn
sorry, that was a bit abrupt: I do think it is a great find, and there may be more info revealed by your investigation that you could add to the issue. I was hoping to find the time to see if I could find and fix the bug, but that hasn't magically materialized so far. ;) On Tue, Feb 13, 2018 at 1