Skip to content

Commit 88ecc9c

Browse files
committed
Configure docstrfmt
1 parent fb8bfd9 commit 88ecc9c

File tree

4 files changed

+255
-215
lines changed

4 files changed

+255
-215
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
5959
name: Test without coverage
6060
run: |
61-
poetry install --extras=autobpm --extras=lyrics --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
61+
poetry install --without=lint --extras=autobpm --extras=lyrics --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
6262
poe test
6363
6464
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}

.github/workflows/lint.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,11 @@ jobs:
136136
echo "::add-matcher::.github/problem-matchers/sphinx-build.json"
137137
echo "::add-matcher::.github/problem-matchers/sphinx-lint.json"
138138
139-
- name: Build docs
140-
run: poe docs -e SPHINXOPTS=--fail-on-warning
139+
- name: Check docs formatting
140+
run: poe format-docs --check
141141

142142
- name: Lint docs
143-
run: poetry run sphinx-lint --enable all $(git ls-files docs)
143+
run: poe lint-docs
144+
145+
- name: Build docs
146+
run: poe docs -e 'SPHINXOPTS=--fail-on-warning --keep-going'

0 commit comments

Comments
 (0)