This is important when working in repositories that are not formatted according to pep8, as py-autopep8, enabled as part of a python mode hook will reformat the files in these repos.
The change adds c-u behavior to py-autopep8-enable-on-save to remove py-autopep8-buffer from before-save-hook.
This patch allows a user to disable py-autopep8.
This is important when working in repositories that are not formatted according to pep8, as py-autopep8, enabled as part of a python mode hook will reformat the files in these repos.
The change adds
c-u
behavior topy-autopep8-enable-on-save
to removepy-autopep8-buffer
frombefore-save-hook
.