Skip to content

Commit 74cae50

Browse files
authored
do not install pre-commit hooks (#172)
Pre commit hooks get installed without warning when running a nix dev shell. This has the effect of changing the development environment outside the dev shell. The pre-commit hooks do not take into consideration the local developers environment or tooling, such as IDE of choice. Also, the pre-commit hooks assume tooling which may only be present inside the dev shell. This can lead to an inability to commit and interferes with local development. This patch removes that, so that running the dev shell does not change the development environment outside the dev shell.
2 parents 952db04 + accff6d commit 74cae50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/automation/devshells.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
PROTOC_INCLUDE = "${protobuf}/include";
2020
};
2121
nixago = [
22-
cell.configs.lefthook
22+
# cell.configs.lefthook
2323
cell.configs.prettier
2424
cell.configs.treefmt
2525
];

0 commit comments

Comments
 (0)