File: tox.ini

package info (click to toggle)
pypass 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 284 kB
  • sloc: python: 1,058; makefile: 22
file content (31 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (2)
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
[tox]
envlist = py34, py27, pypy, flake8, docs

[testenv]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = nosetests -v
passenv = HOME DISPLAY TRAVIS
setenv = GNUPGHOME=pypass/tests/gnupg

[testenv:flake8]
deps = flake8
       pep8-naming
commands = flake8

[testenv:coverage]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
       coverage
commands = nosetests -v --with-coverage --cover-html --cover-package=pypass

[testenv:docs]
deps = -r{toxinidir}/docs-requirements.txt
commands =
       sphinx-build -b html docs/source docs/build/html
       sphinx-build -b man docs/source docs/build/man

[flake8]
exclude = env,.git,.tox,*.egg,build
ignore = N802
# N802 - Ignored because of nose's setUp function