8000 chore: Template upgrade · romain-intel/mkdocstrings-python@4fe186f · GitHub
[go: up one dir, main page]

Skip to content

Commit 4fe186f

Browse files
committed
chore: Template upgrade
1 parent 36499eb commit 4fe186f

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
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.1.3
2+
_commit: 1.2.0
33
_src_path: gh:pawamoy/copier-pdm
44
author_email: pawamoy@pm.me
55
author_fullname: Timothée Mazzucotelli

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
SHELL := bash
33
DUTY := $(if $(VIRTUAL_ENV),,pdm run) duty
44
export PDM_MULTIRUN_VERSIONS ?= 3.8 3.9 3.10 3.11 3.12
5+
export PDM_MULTIRUN_USE_VENVS ?= $(if $(shell pdm config python.use_venv | grep True),1,0)
56

67
args = $(foreach a,$($(subst -,_,$1)_args),$(if $(value $a),$a="$($a)"))
78
check_quality_args = files

scripts/insiders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def funding_goals(source: str | list[str | tuple[str, str, str]], funding: int =
155155
return _load_goals_from_disk(source, funding)
156156
goals = {}
157157
for src in source:
158-
source_goals = _load_goals(src)
158+
source_goals = _load_goals(src, funding)
159159
for amount, goal in source_goals.items():
160160
if amount not in goals:
161161
goals[amount] = goal

scripts/setup.sh

Lines changed: 7 additions & 0 deletions
< 8608 /tr>
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ if ! pdm self list 2>/dev/null | grep -q pdm-multirun; then
1212
fi
1313

1414
if [ -n "${PDM_MULTIRUN_VERSIONS}" ]; then
15+
if [ "${PDM_MULTIRUN_USE_VENVS}" -eq "1" ]; then
16+
for version in ${PDM_MULTIRUN_VERSIONS}; do
17+
if ! pdm venv --path "${version}" &>/dev/null; then
18+
pdm venv create --name "${version}" "${version}"
19+
fi
20+
done
21+
fi
1522
pdm multirun -v pdm install -G:all
1623
else
1724
pdm install -G:all

0 commit comments

Comments
 (0)
0