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


Groups > comp.lang.python > #20548

Re: How to make PyDev pep8 friendly?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fabiofz@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python': 0.08; '(actually': 0.09; 'definitions.': 0.09; 'eclipse': 0.09; 'configure': 0.10; 'commas,': 0.16; 'integrated.': 0.16; 'jython': 0.16; 'operators,': 0.16; 'pep8': 0.16; 'pydev': 0.16; 'cc:addr :python-list': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'lines,': 0.18; 'cheers,': 0.20; 'cc:no real name:2**0': 0.21; 'trying': 0.21; 'received:209.85.210.174': 0.21; 'received:mail- iy0-f174.google.com': 0.21; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'cc:2**0': 0.26; 'code': 0.26; 'function': 0.27; 'message- id:@mail.gmail.com': 0.29; 'preferences': 0.29; 'example': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'that...': 0.30; 'subject:?': 0.31; 'actually': 0.31; 'there': 0.33; 'rules': 0.34; 'file': 0.34; 'done': 0.34; 'hi,': 0.34; 'window': 0.35; 'apply': 0.35; 'subject:How': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'configured': 0.38; 'could': 0.38; 'e.g.': 0.39; "i'd": 0.39; 'received:209': 0.39; 'double': 0.61; 'love': 0.63; 'ali': 0.73; 'subject:make': 0.73; 'save?': 0.84; 'trim': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/fryOJ/wHfkJgHAvQhsR8Y0lijGRJfsYr7rq3eJjBMs=; b=Eli/aNz1U4SVM5ZmUXsoQ5i4zuG7BF3dTHC5c7unO1ZwtDWy0jlwpnPR8yr/qDYUYT aQ7p1QcizpbH8ogoRkRq/re1/wr0HdBznd/2EglyvlhwMG/cPgn+HdPd4pIOLak2eNPz oqb9SUaCrdqQGp+jtRwGjbJ6mG2CL4Ank2LxM=
MIME-Version 1.0
In-Reply-To <5321a1a2-679e-4808-a04e-bdd639dba78d@db5g2000vbb.googlegroups.com>
References <5321a1a2-679e-4808-a04e-bdd639dba78d@db5g2000vbb.googlegroups.com>
From Fabio Zadrozny <fabiofz@gmail.com>
Date Fri, 17 Feb 2012 09:54:21 -0200
Subject Re: How to make PyDev pep8 friendly?
To Ali Zandi <azandi@adconion.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5916.1329479685.27778.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1329479685 news.xs4all.nl 6943 [2001:888:2000:d::a6]:56759
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20548

Show key headers only | 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