Skip to main content

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

History Node

0.9.2

History Node

0.9.1

History Node

0.9.0

History Node

0.8.2

History Node

0.8.1

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

This version
History Node

0.4

History Node

0.3.3

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pep8radius-0.4.tar.gz (5.6 kB) Copy SHA256 hash SHA256 Source None Mar 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page