jcrocholl/pep8 — Issue #39: Implement pep8 code checking for only modified code (diffs)
Author: ebrius
Created: 2011-10-25 21:54:02+00:00
State: open

Something that would nice for pep8 to implement would be code checking for diffs, This would allow developers to only check the sections of code that they modified rather then the entire file.

A good example of this is the checkpatch.pl script that is maintained for the linux kernel tree. This script is diff aware so that a user can call it with a diff and it will only analyse the code that has changed as part of this diff.

The idea being that pep8 would be executed from a sandbox, have a diff passed to it, and only check the lines that have been modified in the diff.