Skip to content

Commit 35dec61

Browse files
committed
Allow users to disable use of pre-commit-uv
This will allow the failsafe DISABLE_PRE_COMMIT_UV_PATCH=1 variable to be used with `tox -e fix`. Related: - #3428 - tox-dev/pre-commit-uv#28
1 parent fc5ea9f commit 35dec61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ commands = [
5151
description = "format the code base to adhere to our styles, and complain about what we cannot do automatically"
5252
skip_install = true
5353
dependency_groups = ["fix"]
54-
pass_env = [{ replace = "ref", of = ["env_run_base", "pass_env"], extend = true }, "PROGRAMDATA"]
54+
pass_env = [{ replace = "ref", of = ["env_run_base", "pass_env"], extend = true }, "PROGRAMDATA", "DISABLE_PRE_COMMIT_UV_PATCH"]
5555
commands = [["pre-commit", "run", "--all-files", "--show-diff-on-failure", { replace = "posargs", extend = true }]]
5656

5757
[env.type]

0 commit comments

Comments
 (0)