uninstall pre-commit-hooks correctly
parent
78136c27a0
commit
8b8dac8939
|
@ -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 New Issue