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
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
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
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