pep 8 converter?

R

Robin Becker

Is there a tool that checks/imposes PEP 8 (ie the right core coding style?). It
seems that bugfix patches which miss on style are rejected out of hand. So since
I'm quite chaotic and unable to get on with the "foolish consistency" people it
would be nice if there's some way to actually fix broken code without too much
mind numbing attention to spacing around operators etc.
 
G

Gerhard Haering

Is there a tool that checks/imposes PEP 8 (ie the right core coding
style?). It seems that bugfix patches which miss on style are rejected out
of hand. [...]

I doubt that's the case. Care to provide an example?

-- Gerhard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBj1J/dIO4ozGCH14RAuj+AJ9HpGviJYxFZkm5qd6JIcl+JRMeBgCff/pg
Ryz2jK/mDedCqoIDpIU6dRg=
=gML6
-----END PGP SIGNATURE-----
 
R

Robin Becker

Gerhard said:
Is there a tool that checks/imposes PEP 8 (ie the right core coding
style?). It seems that bugfix patches which miss on style are rejected out
of hand. [...]


I doubt that's the case. Care to provide an example?

-- Gerhard


Date: 2004-11-07 14:32
Sender: *******
Logged In: YES
user_id=31392

The formatting of this patch is wrong. There is a long line
(>80 chars) and missing whitespace around commas, operators,
etc.
 
G

Gerhard Haering

Gerhard said:
Is there a tool that checks/imposes PEP 8 (ie the right core coding
style?). It seems that bugfix patches which miss on style are rejected
out of hand. [...]


I doubt that's the case. Care to provide an example?

Date: 2004-11-07 14:32
Sender: *******
Logged In: YES
user_id=31392

The formatting of this patch is wrong. There is a long line
(>80 chars) and missing whitespace around commas, operators,
etc.

URL?

-- Gerhard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBj1zOdIO4ozGCH14RAk97AJ4xcz3M5/SSBRlyWNrt6oLYDT2LBwCgoRdF
Y6uq0G+nHYcH77vJMr6UXG4=
=ryGv
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top