title: How to fix Python indentation
body: <p>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 preserved.</p>
  
  <p>The code works as expected, but it's difficult to maintain.</p>
  
  <p>How can I fix the indentation (like <a href="https://en.wikipedia.org/wiki/HTML_Tidy" rel="noreferrer">HTML Tidy</a>, but for Python) without breaking the code?</p>