Skip to content

Commit 459f7d7

Browse files
committed
chore: Template upgrade
1 parent 100d391 commit 459f7d7

File tree

15 files changed

+132
-159
lines changed

15 files changed

+132
-159
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 1.4.0
2+
_commit: 1.5.2
33
_src_path: gh:pawamoy/copier-uv
44
author_email: dev@pawamoy.fr
55
author_fullname: Timothée Mazzucotelli

.github/workflows/ci.yml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,20 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
fetch-tags: true
2831

29-
- name: Fetch all tags
30-
run: git fetch --depth=1 --tags
31-
32-
- name: Set up Python
32+
- name: Setup Python
3333
uses: actions/setup-python@v5
3434
with:
35-
python-version: "3.11"
35+
python-version: "3.12"
3636

37-
- name: Install uv
38-
run: pip install uv
37+
- name: Setup uv
38+
uses: astral-sh/setup-uv@v3
39+
with:
40+
enable-cache: true
41+
cache-dependency-glob: pyproject.toml
3942

4043
- name: Install dependencies
4144
run: make setup
@@ -61,12 +64,12 @@ jobs:
6164
- macos-latest
6265
- windows-latest
6366
python-version:
64-
- "3.8"
6567
- "3.9"
6668
- "3.10"
6769
- "3.11"
6870
- "3.12"
6971
- "3.13"
72+
- "3.14"
7073
resolution:
7174
- highest
7275
- lowest-direct
@@ -76,20 +79,27 @@ jobs:
7679
- os: windows-latest
7780
resolution: lowest-direct
7881
runs-on: ${{ matrix.os }}
79-
continue-on-error: ${{ matrix.python-version == '3.13' }}
82+
continue-on-error: ${{ matrix.python-version == '3.14' }}
8083

8184
steps:
8285
- name: Checkout
8386
uses: actions/checkout@v4
87+
with:
88+
fetch-depth: 0
89+
fetch-tags: true
8490

85-
- name: Set up Python
91+
- name: Setup Python
8692
uses: actions/setup-python@v5
8793
with:
8894
python-version: ${{ matrix.python-version }}
8995
allow-prereleases: true
9096

91-
- name: Install uv
92-
run: pip install uv
97+
- name: Setup uv
98+
uses: astral-sh/setup-uv@v3
99+
with:
100+
enable-cache: true
101+
cache-dependency-glob: pyproject.toml
102+
cache-suffix: py${{ matrix.python-version }}
93103

94104
- name: Install dependencies
95105
env:

.github/workflows/release.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4
14-
- name: Fetch all tags
15-
run: git fetch --depth=1 --tags
14+
with:
15+
fetch-depth: 0
16+
fetch-tags: true
1617
- name: Setup Python
17-
uses: actions/setup-python@v4
18-
- name: Install git-changelog
19-
run: pip install git-changelog
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.12"
21+
- name: Setup uv
22+
uses: astral-sh/setup-uv@v3
2023
- name: Prepare release notes
21-
run: git-changelog --release-notes > release-notes.md
24+
run: uv tool run git-changelog --release-notes > release-notes.md
2225
- name: Create release
23-
uses: softprops/action-gh-release@v1
26+
uses: softprops/action-gh-release@v2
2427
with:
2528
body_path: release-notes.md

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/.pdm-build/
1616
/htmlcov/
1717
/site/
18+
uv.lock
1819

1920
# cache
2021
.cache/

.gitpod.dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

.gitpod.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ make setup
2323
> You can install it with:
2424
>
2525
> ```bash
26-
> python3 -m pip install --user pipx
27-
> pipx install uv
26+
> curl -LsSf https://astral.sh/uv/install.sh | sh
2827
> ```
2928
>
3029
> Now you can try running `make setup` again,
31-
> or simply `uv install`.
30+
> or simply `uv sync`.
3231
3332
You now have the dependencies installed.
3433

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,16 @@
33
[![ci](https://github.com/mkdocstrings/griffe-inherited-docstrings/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-inherited-docstrings/actions?query=workflow%3Aci)
44
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://mkdocstrings.github.io/griffe-inherited-docstrings/)
55
[![pypi version](https://img.shields.io/pypi/v/griffe-inherited-docstrings.svg)](https://pypi.org/project/griffe-inherited-docstrings/)
6-
[![gitpod](https://img.shields.io/badge/gitpod-workspace-708FCC.svg?style=flat)](https://gitpod.io/#https://github.com/mkdocstrings/griffe-inherited-docstrings)
76
[![gitter](https://badges.gitter.im/join%20chat.svg)](https://app.gitter.im/#/room/#griffe-inherited-docstrings:gitter.im)
87

98
Griffe extension for inheriting docstrings.
109

1110
## Installation
1211

13-
With `pip`:
14-
1512
```bash
1613
pip install griffe-inherited-docstrings
1714
```
1815

19-
With [`pipx`](https://github.com/pipxproject/pipx):
20-
21-
```bash
22-
python3.8 -m pip install --user pipx
23-
pipx install griffe-inherited-docstrings
24-
```
25-
2616
## Usage
2717

2818
With Python:

config/ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
target-version = "py38"
1+
target-version = "py39"
22
line-length = 120
33

44
[lint]

devdeps.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)