Skip to content

Commit ff6bfc6

Browse files
committed
style: move Makefile comment to block comment above command
1 parent 3388b1e commit ff6bfc6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

template/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ test: test-unit-tests test-doctest
1717
test-unit-tests:
1818
uv run --no-sources pytest tests
1919

20-
test-doctest: # exit code 5 = no tests collected, which is fine for a fresh project
20+
test-doctest:
21+
# Run doctests in src/. Tolerates exit code 5 (no tests collected) so that
22+
# `make test` passes on a fresh project before any doctests have been added.
2123
uv run --no-sources pytest --doctest-modules src; rc=$$?; [ $$rc -eq 5 ] && exit 0 || exit $$rc
2224

2325
build:

0 commit comments

Comments
 (0)