10000 chore: Template upgrade · AntoineD/mkdocstrings-python@5204726 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5204726

Browse files
committed
chore: Template upgrade
1 parent 7f5529f commit 5204726

File tree

5 files changed

+14
-9
lines changed

5 files changed

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

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
python-version: "3.8"
3232

3333
- name: Resolving dependencies
34-
run: pdm lock -v --no-cross-platform
34+
run: pdm lock -v --no-cross-platform -G ci-quality
3535

3636
- name: Install dependencies
37-
run: pdm install -G duty -G docs -G quality -G typing -G security
37+
run: pdm install -G ci-quality
3838

3939
- name: Check if the documentation builds correctly
4040
run: pdm run duty check-docs
@@ -54,6 +54,7 @@ jobs:
5454
tests:
5555

5656
strategy:
57+
max-parallel: 4
5758
matrix:
5859
os:
5960
- ubuntu-latest
@@ -78,10 +79,10 @@ jobs:
7879
python-version: ${{ matrix.python-version }}
7980

8081
- name: Resolving dependencies
81-
run: pdm lock -v --no-cross-platform
82+
run: pdm lock -v --no-cross-platform -G ci-tests
8283

8384
- name: Install dependencies
84-
run: pdm install --no-editable -G duty -G tests -G docs
85+
run: pdm install --no-editable -G ci-tests
8586

8687
- name: Run the test suite
8788
run: pdm run duty test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ help:
3232

3333
.PHONY: lock
3434
lock:
35-
@pdm lock --no-cross-platform
35+
@pdm lock -G:all
3636

3737
.PHONY: setup
3838
setup:

docs/.overrides/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
is now available!
77
<span class="twemoji heart pulse">
88
{% include ".icons/octicons/heart-fill-16.svg" %}
9-
</span>
9+
</span> &mdash;
1010

11-
&mdash; For updates follow <strong>@pawamoy</strong> on
11+
For updates follow <strong>@pawamoy</strong> on
1212
<a rel="me" href="https://fosstodon.org/@pawamoy">
1313
<span class="twemoji mastodon">
1414
{% include ".icons/fontawesome/brands/mastodon.svg" %}

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ editable-backend = "editables"
5656

5757
[tool.pdm.dev-dependencies]
5858
duty = ["duty>=0.10"]
59+
ci-quality = ["mkdocstrings-python[duty,docs,quality,typing,security]"]
60+
ci-tests = ["mkdocstrings-python[duty,docs,tests]"]
5961
docs = [
6062
"black>=23.1",
6163
"markdown-callouts>=0.2",
@@ -89,4 +91,6 @@ typing = [
8991
"types-pyyaml>=6.0",
9092
"types-toml>=0.10",
9193
]
92-
security = ["safety>=2"]
94+
security = [
95+
"safety>=2",
96+
]

0 commit comments

Comments
 (0)
0