File: tox.ini

package info (click to toggle)
python-rfc6555 0.0~git20190913.1a181b4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 148 kB
  • sloc: python: 339; makefile: 4
file content (27 lines) | stat: -rw-r--r-- 655 bytes parent folder | download
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
[tox]
envlist = lint, packaging, py26, py27, py33, py34, py35, py36, py37
skip_missing_interpreters = true

[testenv]
deps= -r{toxinidir}/dev-requirements.txt
commands=
    coverage run -m pytest tests/
    coverage report -m
    coverage html
passenv = TRAVIS APPVEYOR

[testenv:py26]
# Additional dependency on unittest2 for Python 2.6
deps=
    {[testenv]deps}
    unittest2

[testenv:lint]
commands =
    python -m pip install flake8
    flake8 --max-line-length 100 rfc6555.py

[testenv:packaging]
commands =
    check-manifest --ignore *.yml,.mention-bot,.appveyor*,.travis*,.github*
    python setup.py check --metadata --restructuredtext --strict