Skip to content

Commit

Permalink
tox: add description (ansible-collections#1242)
Browse files Browse the repository at this point in the history
tox: add description

Reviewed-by: Mark Chappell <None>
  • Loading branch information
goneri authored Nov 4, 2022
1 parent a2fb566 commit df44023
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ skipsdist=True
envlist = clean,ansible{2.12,2.13}-py{38,39,310}-{with_constraints,without_constraints}

[testenv]
description = Run the test-suite and generate a HTML coverage report
deps =
pytest
pytest-cov
Expand All @@ -20,8 +21,9 @@ skip_install = true
commands = coverage erase

[testenv:complexity-report]
description = Generate a HTML complexity report in the complexity directory
deps =
# See: https://github.com/lordmauve/flake8-html/issues/30
flake8>=3.3.0,<5.0.0'
flake8-html
commands = -flake8 --select C90 --max-complexity 10 --format=html --htmldir={posargs} plugins
commands = -flake8 --select C90 --max-complexity 10 --format=html --htmldir={posargs:complexity} plugins

0 comments on commit df44023

Please sign in to comment.