Terje Larsen

Results 212 comments of Terje Larsen

For more readable diffs it would be nice if the generated vendor modules txt was using a multiline `"""` string instead of a single line string with `\n`.

Oh, I throught it was already supported when looking at this comment: https://github.com/toml-lang/toml/issues/163#issuecomment-656007706

Interesting, it was indeed very confusing and a bit tricky to track down. I did see the `[bind](bind: invalid argument)` error but wasn't sure where it came from and was...

Update, I just managed to reproduce it once locally in the docker container, but don't seem to be able to reproduce it again.

Yeah, only when I enabled the logging it didn't fail, but I guess I will just have to leave it with logging on and keep running until I run into...

There are no changes, but I have a hunch. When I ran `treefmt` in an infinite loop, and pressed ctrl+c to forcefully cancel the infinite loop. Then I saw one...

or actually seems neither `treefmt` standalone or via `pre-commit` will work on untracked files

Turns out one thing that prevented me from reproducing the error was that I also added `--no-cache` to rule out caching issues. But turns out there is a bug there,...

Just managed to reproduce this with `-v`, no luck: ``` $ git status -sb ## my-branch...origin/my-branch M flake.nix $ git commit --amend --no-edit deadnix..................................................................Passed statix...................................................................Passed treefmt..................................................................Failed - hook id: treefmt...

Okay, I can now reproduce this. It happens every time on the first formatting of the change. ``` $ git add -Ap flake.nix diff --git a/flake.nix b/flake.nix index e72b06f..566f7c4 100644...