We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6912a7a commit 3478a06Copy full SHA for 3478a06
.pre-commit-config.yaml
@@ -80,7 +80,7 @@ repos:
80
hooks:
81
- id: pytest
82
name: pytest-check
83
- entry: sh -c "if [ -f api/.venv/bin/python ]; then var=api/.venv/bin/python; else var=api/.venv/Scripts/python; fi; $var -m pytest api/src/tests"
+ entry: sh -c "cd ./api/src/ && poetry run pytest ./tests/"
84
language: system
85
pass_filenames: false
86
always_run: true
0 commit comments