ci: check python file formatting
Previously, postgrest-style would reformat python files, but their formatting wasn't enforced.
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ let
|
|||||||
|
|
||||||
trap "echo postgrest-style-check failed. Run postgrest-style to fix issues automatically." ERR
|
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 =
|
lint =
|
||||||
|
|||||||
Reference in New Issue
Block a user