File: tox.ini

package info (click to toggle)
sadisplay 0.4.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 124 kB
  • sloc: python: 787; makefile: 11
file content (32 lines) | stat: -rw-r--r-- 706 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
23
24
25
26
27
28
29
30
31
32
[tox]
envlist=py27,py36,py27sa8,py36sa8,qa

[testenv]
deps=
    pytest
commands=
    python -c "import sys, sqlalchemy; print('python:', sys.version); print('sqlalchemy:', sqlalchemy.__version__)"
    pytest -vv
    python tests/issue_13.py

[testenv:py27sa8]
basepython=python2.7
deps=
    sqlalchemy>=0.8,<0.9
    {[testenv]deps}

[testenv:py36sa8]
basepython=python3.6
deps=
    {[testenv:py27sa8]deps}

[testenv:qa]
basepython=python3.6
deps=
    flake8
    yapf==0.16.1
commands=
    python -c "import flake8; print('flake8:', flake8.__version__)"
    python -c "import yapf; print('yapf:', yapf.__version__)"
    flake8 --exclude=.tox,dist,docs,*.egg
    yapf -r -d sadisplay tests examples setup.py