diff options
-rw-r--r-- | home/modules/development/urbint.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/home/modules/development/urbint.nix b/home/modules/development/urbint.nix index 2844b0dbf1c4..4bf39b656f58 100644 --- a/home/modules/development/urbint.nix +++ b/home/modules/development/urbint.nix @@ -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 = { |