diff --git a/pyproject.toml b/pyproject.toml index 5aae9aa3..f6390d1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,11 +72,6 @@ check = [ "types-requests", "types-setuptools", ] -doc = [ - "sphinx", - "sphinx-autoapi", - "sphinx_rtd_theme==1.3.0", -] [project.scripts] e3 = "e3.sys:main" diff --git a/tox.ini b/tox.ini index de2ce98f..b09b4eff 100644 --- a/tox.ini +++ b/tox.ini @@ -16,16 +16,18 @@ extras = test # Run testsuite with coverage when '-cov' and with multi-threading when '-xdist' # is in the env name commands= - pytest -vv --ignore=build -v --html=pytest-report.html \ + pytest -vvv --ignore=build --html=pytest-report.html \ --junit-xml=pytest-report.xml --self-contained-html \ xdist: -n auto \ cov: --e3-cov-rewrite {envsitepackagesdir} src \ - cov: --cov {envsitepackagesdir}/e3 --cov-branch \ + cov: --cov {envsitepackagesdir}/e3/ --cov-branch \ [] codecov: codecov [testenv:check] -extras = check +extras = + config + check commands = # Run bandit checks. Accept yaml.load(), pickle, and exec since this # is needed by e3. There is also e3.env.tmp_dir that returns the TMPDIR @@ -36,7 +38,10 @@ commands = [testenv:docs] changedir = docs -extras = doc +deps = + sphinx==7.2.6 + sphinx-autoapi + sphinx_rtd_theme==1.3.0 commands = sphinx-build -q -b html -d build/doctrees source build/html