We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b1860f commit 22a020aCopy full SHA for 22a020a
1 file changed
Makefile
@@ -167,10 +167,11 @@ check-mypy:
167
check:
168
pre-commit run --all-files
169
170
-# Run all unit tests.
+# Run all unit tests. The --files option avoids stashing but passes files; however,
171
+# the hook setup itself does not pass files to pytest (see .pre-commit-config.yaml).
172
.PHONY: test
173
test:
- pre-commit run pytest --hook-stage push
174
+ pre-commit run pytest --hook-stage push --files test/
175
176
# Build a source distribution package and a binary wheel distribution artifact.
177
# When building these artifacts, we need the environment variable SOURCE_DATE_EPOCH
0 commit comments