From 34be8cc45f8da01607432897422f8baeb23bfdd6 Mon Sep 17 00:00:00 2001 From: brandynlucca Date: Fri, 8 Nov 2024 11:02:29 -0700 Subject: [PATCH 1/4] Update `requirements-dev.txt` --- requirements-dev.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 2c249058..5ee3e1bd 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,7 @@ black +coverage flake8 isort pre-commit pytest +tox \ No newline at end of file From 84d616c74a9203b5108212c030b7dc582f6368bb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 18:04:46 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5ee3e1bd..25bd2e13 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,4 +4,4 @@ flake8 isort pre-commit pytest -tox \ No newline at end of file +tox From f87c58280fc77e63c7f363831e3827d9f6de1a40 Mon Sep 17 00:00:00 2001 From: brandynlucca Date: Fri, 8 Nov 2024 11:55:36 -0700 Subject: [PATCH 3/4] Add `jupyter-book` tests to `tox` --- docs/requirements.txt | 6 ++++-- tox.ini | 8 +++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 953e28fa..71580264 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,6 @@ -sphinx-automodapi +docutils<0.18 jupyter-book numpydoc -docutils<0.18 \ No newline at end of file +setuptools +sphinx-automodapi +sphinxcontrib-bibtex diff --git a/tox.ini b/tox.ini index 5ffcff22..f0cdb10c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py39, py310, py311, py312, lint, coverage +envlist = py39, py310, py311, py312, coverage, docs, lint skip_missing_interpreters = true recreate = false parallel = auto @@ -21,6 +21,12 @@ deps = commands = pytest --cov=echopop --cov-report=term --cov-report=html install_command = pip install --cache-dir={env:TOX_PIP_CACHE_DIR:.tox/.cache} {opts} {packages} +[testenv:docs] +deps = + -r ./docs/requirements.txt +commands = + jupyter-book build ./docs + [testenv:lint] deps = pre-commit commands = pre-commit run --all-files From f8cdfa36643a95412d49921432e749afc0a78b3d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 18:56:30 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index f0cdb10c..c6185ce9 100644 --- a/tox.ini +++ b/tox.ini @@ -22,9 +22,9 @@ commands = pytest --cov=echopop --cov-report=term --cov-report=html install_command = pip install --cache-dir={env:TOX_PIP_CACHE_DIR:.tox/.cache} {opts} {packages} [testenv:docs] -deps = +deps = -r ./docs/requirements.txt -commands = +commands = jupyter-book build ./docs [testenv:lint]