pip install autopep8
autopep8 path/to/file.py --select=E101,E121 --in-place
See this for more details: https://stackoverflow.com/questions/1024435/how-to-fix-python-indentation
pip install autopep8
autopep8 path/to/file.py --select=E101,E121 --in-place
See this for more details: https://stackoverflow.com/questions/1024435/how-to-fix-python-indentation