Metadata-Version: 1.2
Name: friendlyautopep8
Version: 0.0.2
Summary: Just a wrapper around autopep8 which run _only_ on the changed (non commited
Home-page: https://github.com/Carreau/friendlyautopep8
License: UNKNOWN
Author: Matthias Bussonnier
Author-email: bussonniermatthias@gmail.com
Requires-Python: >=3.5
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: autopep8

Friendly autopep8
=================

A wrapper around [autopep8] which rums it only on non commited lines.
I.E run ``git-diff`` between the worktree and this index and apply
autopep8 only to there.

Why ?
-----

Because autopep8 is nice but `"There must be a better
way" <https://www.youtube.com/watch?v=wf-BqAjZb8M>`__. (Highly
recommended to watch).

-  Applying autopep8 (or even fixing manually) can break tools like git
   blame.
-  Extra changes (in whitespace, indent....) can distract reviewer from
   their tasks.

The fix is simple, pep-8 (or should I say pycodestyle) only the lines
that are actively changed.

This will allow project that are not pep-8 complaint to
**progressivley** become compliant if they wish. And does not prevent
you from running on your changes.

TODO.
-----

-  Support applying on a commit range instead of non-comited
-  Support non-git.

Limitations
-----------

Number of whitelines between function/classes might be wrong. Probably
other things.

