Skip to content

Commit

Permalink
Merge pull request #499 from kianmeng/give-description-to-tox-environ…
Browse files Browse the repository at this point in the history
…ments

Give description to tox environments
  • Loading branch information
JonathanHuot committed Sep 3, 2022
2 parents 06bbfd5 + ee18ab0 commit 3a2a852
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist=py27,py34,py35,py36,py37,py38,py39,py310,pypy,pypy3,docs,readme,black

[testenv]
description=run test on {basepython}
deps=
-r{toxinidir}/requirements-test.txt
commands=coverage run --source=requests_oauthlib -m unittest discover
Expand All @@ -18,6 +19,7 @@ deps=
# tox -e docs to mimic readthedocs build.
# should be similar to .readthedocs.yaml pipeline
[testenv:docs]
description=mimic readthedocs build
basepython=python3.7
skipsdist=True
deps=
Expand All @@ -28,12 +30,14 @@ commands=make clean html

# tox -e readme to mimic pypi validation of readme/rst files.
[testenv:readme]
description=mimic pypi validation of readme/rst files
basepython=python3.7
deps=twine>=1.12.0
commands=
twine check .tox/dist/*

[testenv:black]
description=show diff of code format
basepython=python3.7
deps=black
commands=black --check --diff .

0 comments on commit 3a2a852

Please sign in to comment.