File tree Expand file tree Collapse file tree
{{cookiecutter.project_slug}} Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 cd /tmp/python-project
3737 git init . && git add . && git commit -m "Initial commit"
38- make reformat
38+ make format
3939
40- git diff --exit-code || { >&2 echo "please reformat "; exit 1; }
40+ git diff --exit-code || { >&2 echo "please format "; exit 1; }
4141
4242 make lint
4343 make test
5353
5454 cd /tmp/python-project
5555 git init . && git add . && git commit -m "Initial commit"
56- make reformat
56+ make format
5757
58- git diff --exit-code || { >&2 echo "please reformat "; exit 1; }
58+ git diff --exit-code || { >&2 echo "please format "; exit 1; }
5959
6060 make lint
6161 make test
7171
7272 cd /tmp/tob-r-and-e-python-project
7373 git init . && git add . && git commit -m "Initial commit"
74- make reformat
74+ make format
7575
76- git diff --exit-code || { >&2 echo "please reformat "; exit 1; }
76+ git diff --exit-code || { >&2 echo "please format "; exit 1; }
7777
7878 make lint
7979 make test
8989
9090 cd /tmp/bit-trails
9191 git init . && git add . && git commit -m "Initial commit"
92- make reformat
92+ make format
9393
94- git diff --exit-code || { >&2 echo "please reformat "; exit 1; }
94+ git diff --exit-code || { >&2 echo "please format "; exit 1; }
9595
9696 make lint
9797 make test
@@ -108,9 +108,9 @@ jobs:
108108
109109 cd /tmp/python-project
110110 git init . && git add . && git commit -m "Initial commit"
111- make reformat
111+ make format
112112
113- git diff --exit-code || { >&2 echo "please reformat "; exit 1; }
113+ git diff --exit-code || { >&2 echo "please format "; exit 1; }
114114
115115 make lint
116116 make test
Original file line number Diff line number Diff line change 2020 uses : astral-sh/setup-uv@445689ea25e0de0a23313031f5fe577c74ae45a1 # v6.3.0
2121
2222 - name : Build distributions
23- run : uv build
23+ run : make build
2424
2525 - name : Upload distributions
2626 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Original file line number Diff line number Diff line change 3737 uv run interrogate -c pyproject.toml .
3838 {%- endif %}
3939
40- .PHONY : reformat
41- reformat :
40+ .PHONY : format
41+ format :
4242 uv run ruff format && \
4343 uv run ruff check --fix
4444
You can’t perform that action at this time.
0 commit comments