# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py36,py37,py38,py39,style

[testenv]
commands =
  coverage run --source flask_jwt_extended -m pytest tests/
  coverage report --fail-under=100
deps =
  pytest
  coverage
  cryptography
  python-dateutil

[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py36,py37,py38,py39,style

[testenv]
commands =
  coverage run --source flask_jwt_extended -m pytest tests/
  coverage report --fail-under=100 -m
deps =
  pytest
  coverage
  cryptography
  python-dateutil

[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure

Print missing lines for coverage report on failure
Print missing lines for coverage report on failure
