Skip to content

Commit 721b35d

Browse files
authored
Don't pass filenames to pytest (#2)
Passing filenames to pipenv run pytest sometimes causes the test collection to fail.
1 parent c1b8485 commit 721b35d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

{{cookiecutter.repo_name}}/.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ repos:
3838
language: system
3939
entry: pipenv run pytest
4040
types: [python]
41+
pass_filenames: false
4142

4243
- id: pytest-cov
4344
name: pytest

0 commit comments

Comments
 (0)