There was an error while loading. Please reload this page.
1 parent bbc4206 commit 510ec9dCopy full SHA for 510ec9d
src/formatting/languages/python/formatter.cpp
@@ -62,6 +62,11 @@ void pyFormat(std::vector<std::string> &fileContents) {
62
return;
63
}
64
65
+for (size_t i = 0; i < fileContents.size(); i++) {
66
+for (int j = spacesVec[i] / indentation; j > 0; j--) {
67
+fileContents[i].replace((indentation * j)-indentation, indentation, "\t");
68
+}
69
70
71
72
// replace spaces with tabs
0 commit comments