29 lines
508 B
INI
29 lines
508 B
INI
[tox]
|
|
#envlist = py3{6,7,8},black,pylama,sphinx
|
|
envlist = py3{8,9,10,11,12},pylama,black
|
|
skip_missing_interpreters = true
|
|
|
|
[testenv]
|
|
deps =
|
|
-rrequirements.txt
|
|
-rrequirements-dev.txt
|
|
passenv = *
|
|
|
|
commands =
|
|
py.test --cov=napalm_s350 --cov-report term-missing -vs {posargs}
|
|
|
|
[testenv:black]
|
|
commands =
|
|
black --check --target-version py36 --line-length 100 --color --diff .
|
|
|
|
[testenv:pylama]
|
|
commands =
|
|
pylama .
|
|
|
|
[testenv:sphinx]
|
|
commands =
|
|
make doctest
|
|
|
|
whitelist_externals =
|
|
make
|