Skip to content

Commit

Permalink
pre-commit: 3.7.1 -> 4.0.1 (#349667)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Oct 19, 2024
2 parents e1cc09e + 3787f84 commit b1b0ce0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/tools/misc/pre-commit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
with python3Packages;
buildPythonApplication rec {
pname = "pre-commit";
version = "3.7.1";
version = "4.0.1";
format = "setuptools";

disabled = pythonOlder "3.9";
Expand All @@ -27,7 +27,7 @@ buildPythonApplication rec {
owner = "pre-commit";
repo = "pre-commit";
rev = "refs/tags/v${version}";
hash = "sha256-+9NNXM4i6saxktF1pl93dmkrqjsErqMB6kEK3IPQTNQ=";
hash = "sha256-qMNnzAxJOS7mabHmGYZ/VkDrpaZbqTJyETSCxq/OrGQ=";
};

patches = [
Expand Down Expand Up @@ -165,6 +165,7 @@ buildPythonApplication rec {
"test_installed_from_venv"
"test_uninstall_restores_legacy_hooks"
"test_dotnet_"
"test_health_check_"

# Expects `git commit` to fail when `pre-commit` is not in the `$PATH`,
# but we use an absolute path so it's not an issue.
Expand Down

0 comments on commit b1b0ce0

Please sign in to comment.