[tox] envlist = check, mypy, py38, report [testenv] passenv = TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* GITHUB_* PYTEST_ADDOPTS COVERALLS_* extras = test commands = python -m pytest -vv depends = py38: clean, check report: py38 [flake8] extend-ignore = E203, W503 ignore = F841 [pytest] basepython = py38: python3.8 python_files = tests/test_*.py timeout = 480 [testenv:check] basepython = python3.8 extras = check ignore_errors=true commands = check-manifest {toxinidir} flake8 multivolumefile tests setup.py isort --quiet --check-only --diff multivolumefile tests setup.py [testenv:mypy] basepython = python3.8 extras = type commands = mypy multivolumefile/ [isort] known_first_party = multivolumefile known_third_party = docutils,flake8,pyannotate_runtime,pytest,pytz,setuptools,sphinx,yaml multi_line_output = 3 include_trailing_comma = True force_grid_wrap = 0 use_parentheses = True ensure_newline_before_comments = True line_length = 125 [testenv:clean] deps = coverage[toml]>=5.2 skip_install = true commands = coverage erase [testenv:coveralls] deps = coveralls skip_install = true commands = coveralls [] [testenv:report] basepython = python3.8 deps = coverage[toml]>=5.2 skip_install = true commands = coverage report coverage html -d build/htmlcov [gh-actions] python = 3.8: py38, check