Tidy up (autopep8) only the lines in the files touched in the git or hg branch/commit.
Project description
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
Usage
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for Better-Than-You-Found-It-0.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409308bf1db482ad99fcbae29ac792444425207d88c1e80548d6992ae827c1fe |
|
MD5 | 3f937ed354782ba8ed3664e6f02307f9 |
|
BLAKE2b-256 | 3105c64cec7511c32ffab4a9fccb53b58850d1c3d13367935bf8b8091722454b |