Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
fix: pre-commit julia-formatter (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli authored Jun 10, 2024
1 parent a6569d0 commit a5bcb46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
Pkg.activate(".")
Pkg.add("JuliaFormatter")
using JuliaFormatter
format(ARGS)
format("turing")
out = Cmd(`git diff --name-only`) |> read |> String
if out == ""
exit(0)
Expand All @@ -80,6 +80,7 @@
'';
files = "\\.jl$";
language = "system";
pass_filenames = false;
};
};
};
Expand Down

0 comments on commit a5bcb46

Please sign in to comment.