Closed KumarswamyS closed 4 years ago
It is... according to the rules. Just switch it off and use a lint tool if you want to have language agnostic indentation error tests.
@oderwat What rules are you referring to? According to PEP8 (Python style guide), continuation indents should be aligned with the opening delimiter. I can of course set the error color to be completely transparent, but that kind of destroys its idea.
The rules from the settings?
An error is by definition:
if the number of spaces is not a multiple of "tabSize".
This is no linter and could care less about Python style guides!
I would suggest, that you use a linter for checking your Python code style and disable errors in indent-rainbow as they are obviously not what you expect them to be.
I have a print statement in python which is of two lines, indent rainbow is improperly showing the second line of the print statement as indentation error.
Second line of print statement is improperly indentented accoring to indent rainbow