Skip to content

Commit

Permalink
Add and use extra requirements for docs and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Apr 29, 2023
1 parent e8e7316 commit c287b10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ classifiers = [
pg = [
"PyGreSQL>=5",
]
testing = [
docs = [
"docutils",
]
tests = [
"pytest>=7",
"ruff",
]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist = py3{7,8,9,10,11}, ruff, manifest, docs, spell
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps = pytest>=7
extras = tests
commands =
pytest {posargs}

Expand All @@ -28,7 +28,7 @@ commands =

[testenv:docs]
basepython = python3.10
deps = docutils
extras = docs
changedir = docs
commands =
python make.py

0 comments on commit c287b10

Please sign in to comment.