GNU bug report logs - #33979
26.1; python.el is not fully PEP 8 compliant for closing parens

Previous Next

Package: emacs;

Reported by: Barry Warsaw <barry <at> python.org>

Date: Fri, 4 Jan 2019 20:49:02 UTC

Severity: wishlist

Tags: confirmed

Merged with 20560

Found in versions 26.1, 24.5

Full log


Message #8 received at 33979 <at> debbugs.gnu.org (full text, mbox):

From: Bhavin Gandhi <bhavin7392 <at> gmail.com>
To: 33979 <at> debbugs.gnu.org
Cc: barry <at> python.org
Subject: RE: bug #33979; python.el is not fully PEP 8 compliant
Date: Wed, 6 Feb 2019 00:23:30 +0530
> I've looked at python-indent--calculate-indentation in python.el and
> AFAICT, there's no way to customize this behavior.  Thus, python.el
> violates PEP 8.

Just trying to understand this. The Python code one will type with 
python.el will still be PEP8 compliant (correct me if I'm wrong). But 
the python.el does violate PEP8 because it does not provide way to 
customize this indentation behavior for closing brackets, right?




This bug report was last modified 4 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.