You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
indentation format should be configurable (or default to 4 spaces) #93
If I'm reading this code correctly, it looks like a tab (\t) is hard-coded as the additional indentation format, even though PEP 8 says, "Spaces are the preferred indentation method." Can this be made configurable or maybe default to 4 spaces instead of a tab character, since this causes errors if the next line of code at the same level uses spaces instead of tabs?
I'm not familiar at all with this code and just searched for what would be adding the \t indent. Do you have a suggestion for what should be done to make it configurable (although, I'm not sure if/when I'll get a chance to implement the changes)? Thanks!
Activity
grisha commentedon Aug 24, 2020
Pull requests are welcome!
paulie4 commentedon Aug 24, 2020
I'm not familiar at all with this code and just searched for what would be adding the
\tindent. Do you have a suggestion for what should be done to make it configurable (although, I'm not sure if/when I'll get a chance to implement the changes)? Thanks!paulie4 commentedon Sep 4, 2020
What we ended up doing was this workaround: