Pillow/tox.ini

34 lines
754 B
INI
Raw Normal View History

2017-05-15 12:56:16 +03:00
# Tox (https://tox.readthedocs.io/en/latest/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
2020-10-29 14:41:29 +03:00
# test suite on all supported python versions. To use it,
# "python3 -m pip install tox" and then run "tox" from this directory.
[tox]
envlist =
lint
py{36,37,38,39,py3}
minversion = 1.9
[testenv]
commands =
{envpython} setup.py clean
{envpython} setup.py build_ext --inplace
2013-03-07 18:06:51 +04:00
{envpython} selftest.py
2020-01-27 04:30:27 +03:00
{envpython} -m pytest -W always {posargs}
deps =
cffi
numpy
olefile
pyroma
pytest
[testenv:lint]
commands =
pre-commit run --all-files --show-diff-on-failure
check-manifest
deps =
2020-02-05 18:59:04 +03:00
pre-commit
check-manifest
skip_install = true
2020-06-22 12:22:43 +03:00
passenv = PRE_COMMIT_COLOR