You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running pytest using the following definition:
- repo: local
hooks:
- id: simple-pytest
description: run pytest
name: simple-pytest
entry: pytest
language: system
types: [python]
pass_filenames: false
stages: [push]
log_file: pytest.log
and I see pre-commit list pytest during the git push after I make a change to a .py source file and git add and git commit. But I cannot find a pytest.log file anywhere.
When I run pytest manually:
pytest > manual-pytest.log
The manual-pytest.log file is created in the current working directory.
This is on Ubuntu 18.04.4, with python 3.6.9, pytest 5.4.3
Conclusion: pytest is not failing -- that is why log file is created.
The text was updated successfully, but these errors were encountered:
Originally reported as pre-commit/pre-commit#1553
I'm running pytest using the following definition:
and I see pre-commit list pytest during the git push after I make a change to a .py source file and git add and git commit. But I cannot find a pytest.log file anywhere.
When I run pytest manually:
The manual-pytest.log file is created in the current working directory.
This is on Ubuntu 18.04.4, with python 3.6.9, pytest 5.4.3
Conclusion: pytest is not failing -- that is why log file is created.
The text was updated successfully, but these errors were encountered: