Closed cameroncros closed 6 years ago
Hello and thanks for your feedback!
The .editorconfig
file is actually coming from the cookiecutter template for Octoprint's plugins. I didn't modify it at all.
However, PEP8 also suggests that indentation should be consistent with existing code, and it seems that OctoPrint also uses tabs for indenting so to be honest with you I don't think I will change it, in the case that OctoPrint will get someday migrated to Python 3.
I hope you'll understand my position on this :)
Cheers,
Yeah, i have to admit i read the octoprint .editorconfig as well, and saw that. I am irritated, but I guess its not fixable.
The indent style is set as tabs in .editorconfig for python files. PEP8 suggests using 4 spaces instead of tabs. Is the usage of tabs intentional, and if not, can it be migrated back to spaces?