Files
OctoPrint/tox.ini
Gina Häußge 9f2821fe96 👷 ALLOW_UNICODE and custom pretty printer in doctests
We could also have set ALLOW_UNICODE globally, but this way we might
catch situations where we definitely do not expect mixed results between
py2 and py3.
2019-02-21 15:36:10 +01:00

20 lines
338 B
INI

[tox]
envlist = py27,py37,flake8
[testenv]
passenv = APPDATA
setenv = PY_IGNORE_IMPORTMISMATCH = 1
deps =
mock>=2.0.0,<3
pytest>=4.2.1,<5.0
pytest-doctest-custom>=1.0.0,<1.1
ddt
commands = pytest
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
commands = flake8 --ignore=D,E,W,F401 src/ tests setup.py