all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Bhavin Gandhi <bhavin7392@gmail.com>
Cc: 34268@debbugs.gnu.org
Subject: bug#34268: 27.0.50; wrong indentation in python mode
Date: Tue, 19 Feb 2019 08:53:55 -0500	[thread overview]
Message-ID: <CAFsbZ7Zudf8_hGeZeWpA8JiS7DDJkx4qDGOLYX-vfaxcWeGsXQ@mail.gmail.com> (raw)
In-Reply-To: <79d1d771-c182-d0ca-b69d-b0e4e97d6138@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

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>

[-- Attachment #2: Type: text/html, Size: 1967 bytes --]

  reply	other threads:[~2019-02-19 13:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31 21:04 bug#34268: 27.0.50; wrong indentation in python mode Sam Steingold
2019-02-19 13:13 ` Bhavin Gandhi
2019-02-19 13:53   ` Sam Steingold [this message]
2019-06-09 21:24 ` bug#34268: Configuration option to fix the issue Valentin Ignatev
2021-09-22 21:57   ` bug#34268: 27.0.50; wrong indentation in python mode Lars Ingebrigtsen
2021-09-23 12:37     ` Andreas Röhler
2021-09-23 21:08     ` Augusto Stoffel
2021-09-23 22:01       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFsbZ7Zudf8_hGeZeWpA8JiS7DDJkx4qDGOLYX-vfaxcWeGsXQ@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=34268@debbugs.gnu.org \
    --cc=bhavin7392@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.