File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,17 +60,17 @@ repos:
6060 - id : trailing-whitespace
6161 exclude : ^tests/.*\.txt$
6262
63- # pytest - Run tests before commit
63+ # pytest - Run tests before commit (optional, skip in CI)
64+ # Note: Tests are run separately in CI workflow, not in pre-commit
6465 - repo : local
6566 hooks :
6667 - id : pytest
6768 name : pytest
6869 description : Run pytest test suite
69- entry : uv run pytest
70+ entry : bash -c 'command -v uv >/dev/null 2>&1 && uv run pytest --no-cov -q || echo "Skipping pytest (uv not available)"'
7071 language : system
7172 pass_filenames : false
72- always_run : true
73- args : [--no-cov, -q]
73+ stages : [manual] # Only run when explicitly requested with --hook-stage manual
7474
7575# Global settings
7676default_language_version :
You can’t perform that action at this time.
0 commit comments