File size: 291 Bytes
016b413
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# Cross-platform pytest runner for pre-commit
# Uses uv if available, otherwise falls back to pytest

if command -v uv >/dev/null 2>&1; then
    uv run pytest "$@"
else
    echo "Warning: uv not found, using system pytest (may have missing dependencies)"
    pytest "$@"
fi