flake: On second thought, disable statix alltogether

It's not providing enough value for the annoyances it causes. Like not accepting
multiple filenames.
This commit is contained in:
Erwin Boskma 2024-01-29 10:25:12 +01:00
parent cc7230d92f
commit 33c4fb6314
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -202,17 +202,13 @@
}; };
perSystem = { inputs', pkgs, config, lib, ... }: { perSystem = { inputs', pkgs, config, ... }: {
pre-commit = { pre-commit = {
settings = { settings = {
hooks = { hooks = {
nixpkgs-fmt.enable = true; nixpkgs-fmt.enable = true;
deadnix.enable = true; deadnix.enable = true;
statix = {
enable = true;
pass_filenames = lib.mkForce true;
};
black.enable = true; black.enable = true;
shellcheck = { shellcheck = {
enable = true; enable = true;