Pillow/tox.ini

33 lines
772 B
INI
Raw Permalink 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
2022-07-15 13:42:36 +03:00
py{37,38,39,310,311,py3}
minversion = 1.9
[testenv]
extras =
tests
commands =
make clean
{envpython} -m pip install --global-option="build_ext" --global-option="--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
[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