jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.89k stars 259 forks source link

Only apply autopep8 to modified lines of code #1046

Open dsvensson opened 7 years ago

dsvensson commented 7 years ago

autopep8 (or yapf) should only touch modified lines of code, otherwise it will wreck havoc on a project that hasn't been that strict before. This is similar to how ws-butler deals with whitespace-cleanups.

https://github.com/lewang/ws-butler

jorgenschaefer commented 7 years ago

Sounds like a great idea :-)