Commit 7e86175
authored
Adds a help target to `Makefile` similar to what I did for Ruby which
uses comments on targets to produce a list of targets along with some
minimal documentation:
$ make help
help Print this message
fmt Autoformat code with Rye/Ruff
lint Run linter with Rye/Ruff
test Run test suite with Rye/pytest
type-check Run type check with MyPy
It also runs as the default target, so `help` can be omitted:
$ make
help Print this message
fmt Autoformat code with Rye/Ruff
lint Run linter with Rye/Ruff
test Run test suite with Rye/pytest
type-check Run type check with MyPy
Rename `typecheck` to `type-check` to match the same target in the Ruby
project so that we're consistent across all projects.
[1] riverqueue/riverqueue-ruby#19
1 parent 7791bbf commit 7e86175
2 files changed
+15
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
2 | | - | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
6 | | - | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
10 | | - | |
| 18 | + | |
11 | 19 | | |
12 | 20 | | |
13 | | - | |
14 | | - | |
| 21 | + | |
| 22 | + | |
15 | 23 | | |
0 commit comments