3 ms·
You can do that with Python code, too. https://github.com/hhatto/autopep8 https://github.com/hhatto/autopep8
by Luyt 13y ago
You can do that with Python code, too.
https://github.com/hhatto/autopep8 https://github.com/hhatto/autopep8
- papsosouid 13y agoSort of, but not quite. It is quite easy to get situations where code is wrong because of indentation mistakes, copy+paste, etc. All autopep can do is make your wrong code look consistent. Languages with some sort of block delimiter can't get wrong in this manner, so it is safe to munge together random sources with various indenting messes and then just run a tool over them.