File: tox.ini

package info (click to toggle)
python-django-etcd-settings 0.1.13%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 316 kB
  • sloc: python: 925; makefile: 210
file content (31 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (4)
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
[pytest]
addopts=--tb=short

[tox]
envlist = py27,py35,isort-check,isort-fix,lint,docs
skipsdist = true

[testenv]
commands =
    py.test tests --cov-report=term-missing --cov-report=html --cov-report=xml --cov-append --cov=etcd_settings -s {posargs}
deps =
    -rrequirements/requirements-base.txt
    -rrequirements/requirements-testing.txt

[testenv:lint]
commands = flake8 etcd_settings tests
deps = flake8

[testenv:docs]
commands =
    sphinx-build -W -b html {toxinidir}/docs {toxinidir}/docs/_build/html
deps =
    -rrequirements/requirements-testing.txt

[testenv:isort-check]
commands = isort -rc -c etcd_settings tests
deps = isort

[testenv:isort-fix]
commands = isort -rc etcd_settings tests
deps = isort