-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (45 loc) · 1.09 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tox]
minversion = 2.3
skip_missing_interpreters = true
envlist =
py3{6,7,8,9,10,11}-{linux,windows}
[testenv]
# environment will be skipped if regular expression does not match against the sys.platform string
platform = linux: linux
macos: darwin
windows: win32
changedir = {toxinidir}
deps =
-r{toxinidir}/requirements-dev.txt
splinter: -e .[splinter]
splinter-linux: chromedriver-binary-auto
splinter-windows: chromedriver-binary==95.0.4638.69.0
setenv =
PYTHONPATH = {toxinidir}
passenv =
CI
TRAVIS
TRAVIS_*
commands =
py.test --basetemp={envtmpdir} -v \
--cov pytest_image_diff \
--cov-report term-missing {posargs}
[testenv:qa]
description = Reformat and lint
commands =
black plubot bot_collection
flake8 plubot bot_collection
deps =
flake8
black
[testenv:type]
description = type check
commands =
python -m mypy -p plubot -p tests -p bot_collection
deps = {[testenv]deps}
types-six
mypy>=0.901
[testenv:docs]
deps=
-r{toxinidir}/requirements-dev.txt
commands=python setup.py build_sphinx