Skip to content

Commit b45679b

Browse files
authored
chore: 🧑‍💻 use justfile as checklist in template (#26)
## Description This PR makes very small updates to the justfile and simplifies the checklist in the PR template to tell submitter to run `just run-all` as a check. <!-- Select quick/in-depth as necessary --> This PR needs a quick review.
1 parent 8b896b4 commit b45679b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/pull_request_template.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@ This PR needs a quick/an in-depth review.
1010
## Checklist
1111

1212
- [ ] Added or updated tests
13-
- [ ] Tests passed locally
14-
- [ ] Linted and formatted code
15-
- [ ] Build passed locally
1613
- [ ] Updated documentation
14+
- [ ] Ran `just run-all`

justfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@_default:
22
just --list --unsorted
33

4-
run-all: install-deps format-python check-python run-tests check-commits build-website
4+
# Run all the build recipes
5+
run-all: reset-local install-deps format-python check-python test-python check-commits build-website
56

67
# Install Python package dependencies
78
install-deps:
@@ -15,8 +16,8 @@ generate-puml-all:
1516
generate-puml name:
1617
docker run --rm -v $(pwd):/puml -w /puml ghcr.io/plantuml/plantuml:latest -tsvg "**/{{name}}.puml"
1718

18-
# Run Python tests
19-
run-tests:
19+
# Run the Python tests
20+
test-python:
2021
poetry run pytest
2122

2223
# Check Python code with the linter for any errors that need manual attention

0 commit comments

Comments
 (0)