File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ A [Copier](https://github.com/copier-org/copier) template for a Python package b
77## Usage
88
99``` sh
10- pipx run copier copy --trust gh:branchvincent/python-template < dest>
10+ uvx copier copy --trust gh:branchvincent/python-template < dest>
1111```
1212
1313## Features
Original file line number Diff line number Diff line change 99 publish:
1010 runs-on: ubuntu-latest
1111 steps:
12- - uses: actions/checkout@v2
12+ - uses: actions/checkout@v4
1313 with:
1414 fetch-depth: 0
15- - uses: actions/setup-python@v2
16- with:
17- python-version: 3.9
18- - name: Set up cache
19- uses: actions/cache@v2
20- with:
21- path: .venv
22- key: ${{ runner.os }}-venv-py3.9-${{ hashFiles('**/poetry.lock') }}
2315 - name: Set up Poetry
24- run: |
25- pip install poetry
26- poetry config virtualenvs.in-project true
16+ run: pipx install poetry
17+ - uses: actions/setup-python@v5
18+ with:
19+ python-version: 3.12
20+ cache: poetry
2721 - name: Install package
2822 run: poetry install
2923 - name: Publish docs
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ ruff = "*"
2525taskipy = "*"
2626
2727[tool.taskipy.tasks]
28- clean = { cmd = "rm -rf .mypy_cache/ .pytest_cache/ build/ dist/ *.egg-info", help = "Remove build artifacts" }
28+ clean = { cmd = "rm -rf .mypy_cache/ .pytest_cache/ .ruff_cache/ build/ dist/ *.egg-info", help = "Remove build artifacts" }
2929{% if docs -%}
3030docs = { cmd = "mkdocs serve -f docs/mkdocs.yaml", help = "Serve documentation"}
3131{% endif -%}
You can’t perform that action at this time.
0 commit comments