bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34268: 27.0.50; wrong indentation in python mode


From: Sam Steingold
Subject: bug#34268: 27.0.50; wrong indentation in python mode
Date: Tue, 19 Feb 2019 08:53:55 -0500

pylint reports 
convention (C0330, bad-continuation, ) Wrong hanging indentation before block (remove 4 spaces).


On Tue, Feb 19, 2019 at 8:14 AM Bhavin Gandhi <bhavin7392@gmail.com> wrote:
On 2/1/19 2:34 AM, Sam Steingold wrote:
> --8<---------------cut here---------------start------------->8---
> def foo(x):
>      return [bar(x)
>              for y in zot(
>                      x)]
> --8<---------------cut here---------------end--------------->8---
>

Can you please point to section from PEP8 this code violates? I tried to
find a related section but not sure which section to consider. Also
flake8 does not give any error for both the snippets.


--
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net> <http://steingoldpsychology.com>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]