Skip to content

Commit

Permalink
fix extra - should be docs, not doc
Browse files Browse the repository at this point in the history
  • Loading branch information
NodeJSmith committed Jun 13, 2024
1 parent e77dd54 commit 992b6ff
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
skipsdist = true
isolated_build = true
envlist = py310, py311, lint
envlist = py310, py311, lint, build

[gh-actions]
python =
Expand All @@ -10,18 +10,25 @@ python =

[testenv:lint]
deps =
.[dev,doc]
.[dev,docs]
commands =
ruff format src
ruff check src
mypy -m src --exclude ^(tests|examples)
python -m build
mypy src
mkdocs build -v

[testenv:build]
deps =
build
twine
commands =
python -m build
twine check dist/*

[testenv]
allowlist_externals = ruff,mypy,mkdocs,twine
passenv = *
allowlist_externals = ruff, mypy, mkdocs, twine
passenv =
HOME
USER
setenv =
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = ignore
Expand Down

0 comments on commit 992b6ff

Please sign in to comment.