forked from f5devcentral/f5-cccl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (33 loc) · 811 Bytes
/
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
[tox]
envlist =
unit
style
coverage
functional
flake
docs
[testenv]
basepython =
unit: python
style: python
coverage: python
functional: python
flake: python
docs: python
passenv = COVERALLS_REPO_TOKEN
deps =
-rrequirements.test.txt
# To get the lines that were not executed in unit testing add --cov-report term-missing
#
commands =
# Misc tests
unit: py.test --cov=f5_cccl/ {posargs:./f5_cccl}
style: flake8 {posargs:.}
style: pylint f5_cccl/
coverage: coveralls
flake: flake8 {posargs:.}
functional: py.test {posargs:./test}
docs: bash ./devtools/bin/build-docs.sh
usedevelop = true
[flake8]
exclude = docs/conf.py,docs/userguide/code_example.py,docs/conf.py,.tox,.git,__pycache__,build,*.pyc,docs,devtools,*.tmpl,*test*