Skip to content

Commit b0d9069

Browse files
committed
add mypy badge
1 parent ad6ce4a commit b0d9069

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ jobs:
2323
run: |
2424
git config --global user.name "GitHub Action"
2525
git config --global user.email "action@github.com"
26-
git config --global init.defaultBranch rendered
2726
copier -f -d docker=True -d docs=True . build/ && cd build/
2827
poetry run task lint
2928
- name: Push rendered project
3029
run: |
3130
REMOTE=https://${GITHUB_ACTOR}:${{ secrets.GH_PAT }}@github.com/${GITHUB_REPOSITORY}.git
32-
git -C build push -fu $REMOTE rendered
31+
git -C build push -fu $REMOTE HEAD:rendered

src/README.md.jinja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
[![pypi version](https://img.shields.io/pypi/v/{{project_name}}.svg)](https://pypi.org/project/{{project_name}}/)
66
[![pypi pyversions](https://img.shields.io/pypi/pyversions/{{project_name}})](https://pypi.org/project/{{project_name}}/)
77
{% endif -%}
8-
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
8+
[![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
9+
[![checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
910
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
1011

1112
{{project_description}}

src/postgenerate.sh.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ To create your repo:
3636
$ gh repo create -y {{repo_username}}/{{repo_name}} {% if private %}--private{% else %}--public{% endif %}
3737
3838
To create your PAT:
39-
$ gh secret set GITHUB_PAT -b \$GITHUB_TOKEN
39+
$ gh secret set GH_PAT -b \$TOKEN
4040
EOF

0 commit comments

Comments
 (0)