Is there a way to script PyCharm to do reformat code without a GUI?
I have a lot of legacy python code, and I would like to clean it automatically.
Is there a way to script PyCharm to do reformat code without a GUI?
I have a lot of legacy python code, and I would like to clean it automatically.
You can run format.bat or format.sh from the IDE installation directory. See the documentation for more details on supported options.