summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOTABI Tomoya <tomoya.otabi@gmail.com>2024-04-09 22:36:17 +0900
committerGitHub <noreply@github.com>2024-04-09 22:36:17 +0900
commit579e62c6c0925c3e510866815d084495829a18e4 (patch)
tree36c764c410cc75f1c7f889b24daf78a025210970
parentcaf232fefdea449c206186a9cd1e33acab0019c8 (diff)
parent55d8f7fc7d6bf60417296bf159713b10fe906100 (diff)
Merge pull request #302790 from aaronjheng/pre-commit
pre-commit: 3.6.2 -> 3.7.0
-rw-r--r--pkgs/tools/misc/pre-commit/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/misc/pre-commit/default.nix b/pkgs/tools/misc/pre-commit/default.nix
index 04b485427547..535ce1a8c4da 100644
--- a/pkgs/tools/misc/pre-commit/default.nix
+++ b/pkgs/tools/misc/pre-commit/default.nix
@@ -18,7 +18,7 @@
with python3Packages;
buildPythonApplication rec {
pname = "pre-commit";
- version = "3.6.2";
+ version = "3.7.0";
format = "setuptools";
disabled = pythonOlder "3.9";
@@ -27,7 +27,7 @@ buildPythonApplication rec {
owner = "pre-commit";
repo = "pre-commit";
rev = "refs/tags/v${version}";
- hash = "sha256-rlGkoaVLrTCEPgPFNUWefJf6MJaKTA2RDSbV7eGtaAU=";
+ hash = "sha256-k9pC/GCtqLlK9PhZmx4EKWT1HDyl+KQubDFDQOZdKUQ=";
};
patches = [
@@ -131,9 +131,6 @@ buildPythonApplication rec {
"test_dart"
"test_dart_additional_deps"
"test_dart_additional_deps_versioned"
- "test_docker_hook"
- "test_docker_image_hook_via_args"
- "test_docker_image_hook_via_entrypoint"
"test_during_commit_all"
"test_golang_default_version"
"test_golang_hook"
@@ -172,6 +169,9 @@ buildPythonApplication rec {
# 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.
"test_environment_not_sourced"
+
+ # Docker required
+ "test_docker_"
];
pythonImportsCheck = [