File: tox.ini

package info (click to toggle)
python-envparse 0.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 124 kB
  • sloc: python: 302; makefile: 15
file content (22 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[tox]
envlist=py27, py32, py33, py34, py35, pypy, pypy3, flake8, coverage

[testenv]
commands = {envpython} setup.py test
deps =
    pytest

[testenv:coverage]
deps =
    coverage
    {[testenv]deps}
commands =
    coverage run -m pytest tests --strict {posargs}
    coverage report --include=envparse.py
    coverage html --include=envparse.py

[testenv:flake8]
deps =
    flake8
commands =
    flake8 envparse.py tests --max-line-length=100