diff options
author | Rebecca Turner <rbt@sent.as> | 2024-03-27 10:16:16 -0700 |
---|---|---|
committer | Rebecca Turner <rbt@sent.as> | 2024-03-29 22:57:40 -0700 |
commit | 2a98ba8b97c9ff52519633c32cf63716827d6e7c (patch) | |
tree | 7b64c40ad064183cc7bc7afc662890ea567f2136 /tests/nixos | |
parent | a4f5bb951dbc6fa4ffa2bb56376b38f38b6e9154 (diff) |
Add `pre-commit` checks
The big ones here are `trim-trailing-whitespace` and `end-of-file-fixer`
(which makes sure that every file ends with exactly one newline
character).
Change-Id: Idca73b640883188f068f9903e013cf0d82aa1123
Diffstat (limited to 'tests/nixos')
-rw-r--r-- | tests/nixos/default.nix | 2 | ||||
-rw-r--r-- | tests/nixos/fetch-git/testsupport/gitea-repo.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/nixos/default.nix b/tests/nixos/default.nix index fcc83b842..547290188 100644 --- a/tests/nixos/default.nix +++ b/tests/nixos/default.nix @@ -109,7 +109,7 @@ in nix.package = lib.mkForce pkgs.nixVersions.nix_2_13; }; }; - + # TODO: (nixpkgs update) remoteBuildsSshNg_remote_2_18 = ... # Test our Nix as a builder for clients that are older diff --git a/tests/nixos/fetch-git/testsupport/gitea-repo.nix b/tests/nixos/fetch-git/testsupport/gitea-repo.nix index 916552bb2..77876d369 100644 --- a/tests/nixos/fetch-git/testsupport/gitea-repo.nix +++ b/tests/nixos/fetch-git/testsupport/gitea-repo.nix @@ -48,4 +48,4 @@ in """) ''; }; -}
\ No newline at end of file +} |