skip to navigation
skip to content

pep8radius 0.4

Tidy up (autopep8) only the lines in the files touched in the git or hg branch/commit.

Latest Version: 0.9.2

Better-Than-You-Found-It (btyfi) aka pep8radius

Clean (using autopep8) only the parts of the files which you have touched in the last commit, or against another commit/branch.

Pep8 “storms” (fixing pep8 infractions across the entire project) often cause merge conflicts and break git blame, but you can still “leave it better than you found it” by ensuring that the parts of the project which you touch satisfy pep8.

Currently Supports

git and hg


  • Move to project directory
  • Make some changes to the project
  • Run btyfi
  • Commit your changes

Against a branch you can use the same syntax as with git diff:

  • btyfi master # branch name
  • btyfi c12166f   # commit hash
File Type Py Version Uploaded on Size
pep8radius-0.4.tar.gz (md5) Source 2014-03-27 5KB