1[tox]
2envlist = py3{6,7,8},black,pylama
3skip_missing_interpreters = true
4
5[testenv]
6deps =
7    -rrequirements.txt
8    -rrequirements-dev.txt
9passenv = *
10
11commands =
12    py.test --cov=napalm --cov-report term-missing -vs --pylama {posargs}
13
14[testenv:black]
15deps = black==20.8b1
16
17basepython = python3.6
18commands =
19    black --check .
20
21[testenv:pylama]
22deps =
23    -rrequirements-dev.txt
24
25basepython = python3.6
26commands =
27    pylama .
28
29[testenv:sphinx]
30deps =
31    -rdocs/requirements.txt
32
33basepython = python3.6
34
35commands =
36    make doctest
37
38whitelist_externals =
39    make
40