This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JayKrish
Recipients JayKrish
Date 2013-08-10.22:17:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376173040.43.0.790205199961.issue18704@psf.upfronthosting.co.za>
In-reply-to
Content
This is to create an IDLE extension that would integrate PEP8 (Syntax Style Checker https://pypi.python.org/pypi/pep8 ) into the IDLE editor window,so the developer who is using the IDLE editor can quickly and frequently check the PEP8 standards of the code which is being developed in an IDLE editor window. Many modern IDE's have not only syntax highlighting but on the fly syntax checking.

Python ensures the quality of code with its own standards implemented as PEP8. The tool pep8 checks Python code against some of the style conventions in PEP8. Also the PEP8 standardization should not be a ‘must emphasizing’ for a python developer, therefore configuring pep8 to enable/disable errors and warning in various levels should be implemented.

The implementation work is started by Todd at https://bitbucket.org/rovitotv/pythonpatches/src/fae1fdab936043ec35db541808f5789325762fb3/PEP8CheckExtension.patch?at=default

The submitted patch is an effort started from Todd's patch as an example. 
The IDLE with this patch will show PEP8 style check toggle menu in Options.
Once PEP8 check enabled the current module is checked by pep8 tool and the defects will be shown in a extended left pane. 
Defect codes will be listed as a Buttons, button click leads to highlighting the line and column of the defect and scroll editor window if needed. 
It is expected that the developer will correct the defect with the help of the message and eventually press the Resolve button,which refresh the pane.

This is an initial work and I am looking forward for suggestions on improvements and mistakes of this patch.
History
Date User Action Args
2013-08-10 22:17:23JayKrishsetrecipients: + JayKrish
2013-08-10 22:17:20JayKrishsetmessageid: <1376173040.43.0.790205199961.issue18704@psf.upfronthosting.co.za>
2013-08-10 22:17:20JayKrishlinkissue18704 messages
2013-08-10 22:17:19JayKrishcreate