File: tox.ini

package info (click to toggle)
ilorest 5.2.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,668 kB
  • sloc: python: 45,028; javascript: 10,504; sh: 3,041; makefile: 301; ruby: 204
file content (28 lines) | stat: -rw-r--r-- 645 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
28
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27, pylint, py3
skipsdist=True

[testenv:py27]
changedir = tests
deps = 
    pytest
    mock
commands = pytest --junit-xml={toxinidir}/python2.xml

[testenv:py3]
changedir = tests
deps = pytest
commands = pytest --junit-xml={toxinidir}/python3.xml

[testenv:pylint]
deps = pylint==1.6.1
commands = - bash {toxinidir}/pylint.sh

[flake8]
max-line-length = 120
extend-ignore = E203