Skip to content

Commit

Permalink
Update snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Nov 19, 2023
1 parent 11dafd3 commit f73b807
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
[tox]
envlist = ruff,format,py,behave
envlist = ruff,format,py

[testenv]
description = Unit tests and test coverage
deps =
coverage[toml]
pytest
commands =
coverage run -m pytest {posargs}
coverage report

[testenv:behave]
deps = behave
commands = behave {posargs}

[testenv:format]
description = Ensure consistent code style
skip_install = true
deps = ruff
commands = ruff format {posargs:--check --diff .}

[testenv:ruff]
description = Lightening-fast linting for Python
skip_install = true
deps = ruff
commands = ruff check {posargs:--show-source .}

0 comments on commit f73b807

Please sign in to comment.