From f36c1fc13413bdd6c7105ba7f72e42f77c82efd6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 15 Nov 2022 19:01:47 -0800 Subject: fix(flake): add extra argument for the `check-yaml' hook Drone's CI configuration is in YAML and can contain multiple configurations (documents). By default the check does not allow this, so let's update the configuration by adding the flag `--allow-multiple-documents`. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 235eca4..51ab48e 100644 --- a/flake.nix +++ b/flake.nix @@ -117,7 +117,7 @@ check-yaml = { enable = true; - entry = "${pkgs.python3Packages.pre-commit-hooks}/bin/check-yaml"; + entry = "${pkgs.python3Packages.pre-commit-hooks}/bin/check-yaml --allow-multiple-documents"; types = [ "yaml" ]; }; -- cgit 1.4.1