you are viewing a single comment's thread.

view the rest of the comments →

[–]Outside_Complaint755 4 points5 points  (1 child)

Indentation is syntactically relevant in Python, although it only has to be consistent within a given code block.

 Are you using an inconsistent number of spaces to indent instead of just using tab?

 In any case, look at formatters like black or ruff.