diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d2fd8b1a..51164501 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: python-tests name: Run Python Tests with pytest language: system - entry: bash -c "cd model_server && pip install -r requirements.txt && pytest --maxfail=5 --disable-warnings" + entry: bash -c "python -m venv venv && source venv/bin/activate && cd model_server && pip install -r requirements.txt && pytest --maxfail=5 --disable-warnings" types: [python]