Skip to content

Commit af4e06d

Browse files
authored
Merge pull request #3868 from gaborbernat/tox
add description for tox tasks
2 parents adb5392 + 4e43caf commit af4e06d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tox.ini

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[tox]
2+
minversion=2.9.0
23
envlist = py{27,36},lint,docs
34
skipsdist = True
45

@@ -8,6 +9,7 @@ python =
89
3.6: py36
910

1011
[testenv]
12+
description = run test suite for the application with {basepython}
1113
setenv =
1214
PYTHONPATH={toxinidir}/readthedocs:{toxinidir}
1315
DJANGO_SETTINGS_MODULE=readthedocs.settings.test
@@ -19,11 +21,13 @@ commands =
1921
py.test {posargs}
2022

2123
[testenv:docs]
24+
description = build readthedocs documentation
2225
changedir = {toxinidir}/docs
2326
commands =
2427
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
2528

2629
[testenv:lint]
30+
description = run linter (prospector) to ensure the source code corresponds to our coding standards
2731
deps = -r{toxinidir}/requirements/lint.txt
2832
commands =
2933
prospector \
@@ -36,10 +40,12 @@ commands =
3640
--die-on-tool-error {posargs}
3741

3842
[testenv:eslint]
43+
description = run the JavaScript linter (requires gulp installed)
3944
commands =
4045
gulp lint
4146

4247
[testenv:coverage]
48+
description = run test suite with code coverage for the application with {basepython}
4349
deps =
4450
-r{toxinidir}/requirements/testing.txt
4551
pytest-cov

0 commit comments

Comments
 (0)