spyder_autopep8 icon indicating copy to clipboard operation
spyder_autopep8 copied to clipboard

Autorun on save

Open Nodd opened this issue 12 years ago • 1 comments

Similar to removing whitespace at end of lines on save.

Unchecked by default of course as it can potentially be dangerous.

Nodd avatar Nov 04 '13 10:11 Nodd

It is not possible right now, the save method provides no way to run something in advance. I'm reluctant to try some ugly hack... Signals won't work either, as there would be a race condition between the save and the autopep8 run.

See spyderlib/widgets/editor.py, function save

Nodd avatar Nov 04 '13 21:11 Nodd