I have some Python code that have inconsistent indentation. There is a lot of mixture of tabs and spaces to make the matter even worse, and even space indentation is not pre
In case of trying to find tool to make your 2-space indented python script to a tab indented version, just use this online tool:
2-space indented
tab indented
https://www.tutorialspoint.com/online_python_formatter.htm