How to integrate pep8.py in Eclipse?

Posted by DZPM on Stack Overflow See other posts from Stack Overflow or by DZPM
Published on 2008-12-30T10:39:53Z Indexed on 2010/04/01 10:53 UTC
Read the original article Hit count: 480

Filed under:
|
|
|

A little background:

  • PEP 8 is the Style Guide for Python Code. It contains the conventions all python programmers should follow.
  • pep8.py is a (very useful) script that checks the code formating of a given python script, according to PEP 8.
  • Eclipse is a great IDE. With the Pydev extension, it that can be used to develop Python

I run pep8.py manually when I'm scripting, but with bigger projects I prefer to use Eclipse. It would be really useful to integrate pep8.py in Eclipse/Pydev, so it can be run automatically in all the files in the project, and point to the lines containing the warnings. Maybe there is an obvious way to do it, but I haven't found it yet.

Question is: How to integrate pep8.py in Eclipse?

© Stack Overflow or respective owner

Related posts about python

Related posts about eclipse