uninstall pre-commit-hooks correctly
This commit is contained in:
parent
7a82f7475d
commit
dee2a25d77
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
|||
/nix/store/0c3460gjwiqhy7j000ckyrk4ypcnsmlw-pre-commit-config.json
|
||||
/nix/store/kz586m4ykwc1s25dkkmkhj57l2bil858-pre-commit-config.json
|
|
@ -17,6 +17,7 @@
|
|||
mkPython = version: "python3${toString version}";
|
||||
pythonVersions = map mkPython (pkgs.lib.lists.range minVersion maxVersion);
|
||||
mkDevShell = version: pkgs.mkShell {
|
||||
inherit (pre-commit-hooks.lib."${system}".run { src = ./.; }) shellHook;
|
||||
buildInputs = [ pkgs.${version} pkgs.poetry ];
|
||||
};
|
||||
addPreCommit = shell: shell.overrideAttrs (old: {
|
||||
|
|
Loading…
Reference in a new issue