Closed techtonik closed 5 years ago
What are those indentations? Is that something you maintain manually? I guess you could write a function that, when iterating over the existing lines, keeps a variable filled with the found current indentation.
Yep, it appeared that indentations are manual - https://github.com/liberapay/liberapay.com/issues/1566#issuecomment-527623500
I am working on a patch. It already works, but needs a refactor - #114.
Refactored a bit. I think it is ready now.
Released version 0.14.6 for this.
Would be nice if
hashin
could handle indented files like this one:https://github.com/liberapay/liberapay.com/blob/master/requirements_base.txt
Right now it just inserts a new entry below: