git filter to black from 100chars to 80chars

This commit is contained in:
Griffin Smith 2020-05-27 09:53:10 -04:00
parent ef2f6f32c1
commit d13ef4080d

View file

@ -38,6 +38,13 @@ in
};
programs.git = {
extraConfig.filter.black100to80 =
let inherit (pkgs.python36Packages) black; in {
clean = "${black}/bin/black --target-version py36 -l 100 -";
smudge = "${black}/bin/black --target-version py36 -l 80 -";
};
includes = [{
condition = "gitdir:~/code/urb/";
contents = {