Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20548

Re: How to make PyDev pep8 friendly?

References <5321a1a2-679e-4808-a04e-bdd639dba78d@db5g2000vbb.googlegroups.com>
From Fabio Zadrozny <fabiofz@gmail.com>
Date 2012-02-17 09:54 -0200
Subject Re: How to make PyDev pep8 friendly?
Newsgroups comp.lang.python
Message-ID <mailman.5916.1329479685.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Feb 8, 2012 at 10:15 PM, Ali Zandi <azandi@adconion.com> wrote:
> Hi,
>
> I was trying to find a way to configure PyDev e.g. in Eclipse to be
> pep8 friendly.
>
> There are a few configurations like right trim lines, use space after
> commas, use space before and after operators, add new line at the end
> of file which can be configured via Eclipse -> Window -> Preferences -
>> PyDev -> Editor -> Code Style -> Code Formatter. But these are not
> enough; for example I couldn't find a way to configure double line
> spacing between function definitions.
>
> So is there any way to configure eclipse or PyDev to apply pep8 rules
> e.g. on each save?
>

While this is known, there are still no dates on when this will
actually be implemented...

On the other way, I'd love to accept patches for that... it could even
be done in Python (actually Jython 2.2.1) -- which is also the way
that pep8.py was integrated.

Cheers,

Fabio

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to make PyDev pep8 friendly? Ali Zandi <azandi@adconion.com> - 2012-02-08 16:15 -0800
  Re: How to make PyDev pep8 friendly? Fabio Zadrozny <fabiofz@gmail.com> - 2012-02-17 09:54 -0200

csiph-web