fix precommit

This commit is contained in:
cotran 2024-10-16 15:51:12 -07:00
parent dd353f7285
commit a38b5989cd
2 changed files with 3 additions and 1 deletions

View file

@ -31,7 +31,7 @@ repos:
- id: python-tests
name: Run Python Tests with pytest
language: system
entry: bash -c "python -m venv venv && source venv/bin/activate && 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 && PYTHONPATH=. pytest --maxfail=5 --disable-warnings"
types: [python]