pre-commit-uv
Advanced tools
+1
-1
| Metadata-Version: 2.3 | ||
| Name: pre-commit-uv | ||
| Version: 4.1.3 | ||
| Version: 4.1.4 | ||
| Summary: Run pre-commit with uv | ||
@@ -5,0 +5,0 @@ Project-URL: Bug Tracker, https://github.com/tox-dev/pre-commit-uv/issues |
@@ -68,9 +68,5 @@ """Package root.""" | ||
| uv = _uv() | ||
| venv_cmd = [uv, "venv", environment_dir(prefix, python.ENVIRONMENT_DIR, version)] | ||
| py = python.norm_version(version) | ||
| if py is not None: | ||
| venv_cmd.extend(("-p", py)) | ||
| env = os.environ.copy() | ||
| env["UV_INTERNAL__PARENT_INTERPRETER"] = sys.executable | ||
| cmd_output_b(*venv_cmd, cwd="/", env=env) | ||
| py = python.norm_version(version) or os.environ.get("UV_PYTHON", sys.executable) | ||
| venv_cmd = [uv, "venv", environment_dir(prefix, python.ENVIRONMENT_DIR, version), "-p", py] | ||
| cmd_output_b(*venv_cmd, cwd="/") | ||
@@ -77,0 +73,0 @@ with python.in_env(prefix, version): |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
20166
-0.57%130
-2.99%