Skip to content

Commit f643cb0

Browse files
committed
use poetry dependency group for doc tools;
1 parent bb16cda commit f643cb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
- name: build documentation
5858
run: |
59-
poetry install -E doc
59+
poetry install --with doc
6060
poetry run mkdocs build
6161
6262
- name: Deploy to GitHub Pages

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ types-requests = "^2.31.0.10"
3232
types-python-dateutil = "^2.8.19.14"
3333

3434
requests-mock = "^1.9.3"
35+
pre-commit = {version = "^2.18.1", optional = true}
3536

37+
[tool.poetry.group.doc.dependencies]
3638
Jinja2 = "^3.1.2"
3739
pymdown-extensions = "^9.4"
3840
mkdocstrings-python = "^0.6.6"
@@ -44,7 +46,6 @@ mkdocs-autorefs = {version = "^0.3.1"}
4446
mkdocs-material-extensions = {version = "^1.0.1"}
4547

4648
toml = {version = "^0.10.2", optional = true}
47-
pre-commit = {version = "^2.18.1", optional = true}
4849

4950
[tool.black]
5051
line-length = 120

0 commit comments

Comments
 (0)