Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 17, 2024
1 parent 6637364 commit ed8bfa3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ env_list =
3.9
3.8
type
pkg_meta
docs
pkg_meta
skip_missing_interpreters = true

[testenv]
Expand Down Expand Up @@ -48,6 +48,16 @@ commands =
mypy src
mypy tests

[testenv:docs]
description = build documentation
extras =
docs
set_env =
DOCS_OUT = {posargs:{work_dir}{/}docs_out}
commands =
sphinx-build -d "{env_tmp_dir}{/}doc_tree" docs "{env:DOCS_OUT}" --color -b html
python -c 'print(r"documentation available under file://{env:DOCS_OUT}{/}index.html")'

[testenv:pkg_meta]
description = check that the long description is valid
skip_install = true
Expand All @@ -60,16 +70,6 @@ commands =
twine check {env_tmp_dir}{/}*
check-wheel-contents --no-config {env_tmp_dir}

[testenv:docs]
description = build documentation
extras =
docs
set_env =
DOCS_OUT = {posargs:{work_dir}{/}docs_out}
commands =
sphinx-build -d "{env_tmp_dir}{/}doc_tree" docs "{env:DOCS_OUT}" --color -b html
python -c 'print(r"documentation available under file://{env:DOCS_OUT}{/}index.html")'

[testenv:dev]
description = generate a DEV environment
package = editable
Expand Down

0 comments on commit ed8bfa3

Please sign in to comment.