Skip to content

Commit ecf6fc1

Browse files
committed
add prettier formatting to tox docs build to match pre-commit hook
1 parent c1d9e8c commit ecf6fc1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,13 @@ legacy_tox_ini = """
144144
jupyter nbconvert {toxinidir}/notebooks/*.ipynb --to markdown --output-dir={toxinidir}/docs/notebooks
145145
cp {toxinidir}/notebooks/README.md {toxinidir}/docs/notebooks/README.md
146146
python {toxinidir}/docs/notebooks/update_notebook_links.py {toxinidir}/docs/notebooks
147+
npx prettier@3.1.0 --write --quote-props=as-needed {toxinidir}/docs/notebooks/*.md
147148
mkdocs build
148149
extras =
149150
docs
150151
allowlist_externals =
151152
cp
153+
npx
152154
153155
[tox]
154156
env_list =

0 commit comments

Comments
 (0)