# tox (https://tox.readthedocs.io/) 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]
isolated_build = True
skip_missing_interpreters = True
envlist =
	py3
	py36

[testenv]
deps =
    pytest
    pudb
    py3: mypy>=0.991
    py3: types-appdirs
commands =
    py3: mypy --enable-incomplete-feature=Unpack src/confattr tests docs/source/examples prepare_for_gitlab_pages.py
    pytest {posargs}
install_command = python -m pip install {opts} --no-index --find-links .package-store {packages}
