From bfacec3a673213ae57210310eadf609457a17c80 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 1 Aug 2022 10:52:04 +0200 Subject: [PATCH] ci: check python file formatting Previously, postgrest-style would reformat python files, but their formatting wasn't enforced. --- nix/tools/style.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/tools/style.nix b/nix/tools/style.nix index ea986e767..dc716185b 100644 --- a/nix/tools/style.nix +++ b/nix/tools/style.nix @@ -46,7 +46,7 @@ let trap "echo postgrest-style-check failed. Run postgrest-style to fix issues automatically." ERR - ${git}/bin/git diff-index --exit-code HEAD -- '*.hs' '*.lhs' '*.nix' + ${git}/bin/git diff-index --exit-code HEAD -- '*.hs' '*.lhs' '*.nix' '*.py' ''; lint =