File: tox.ini

package info (click to toggle)
pywavelets 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,488 kB
  • ctags: 2,909
  • sloc: ansic: 3,616; python: 2,782; makefile: 87
file content (39 lines) | stat: -rw-r--r-- 1,282 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
29
30
31
32
33
34
35
36
37
38
39
# Tox (http://tox.testrun.org/) 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.

# Running the command 'tox' while in the root of the pywt source
# directory will:
#   - Create a pywt source distribution (setup.py sdist)
#   - Then for every supported version of Python:
#     - Create a virtualenv in {homedir}/.tox/pywt/py$VERSION and
#       install dependencies. (These virtualenvs are cached across
#       runs unless you use --recreate.)
#     - Use pip to install the pywt sdist into the virtualenv
#     - Run the pywt tests
# To run against a specific subset of Python versions, use:
#   tox -e py26,py27

# Tox assumes that you have appropriate Python interpreters already
# installed and that they can be run as 'python2.6', 'python2.7', etc.

[tox]
toxworkdir = {homedir}/.tox/pywt/
envlist = py26, py27, py33, py34, py35

[testenv]
deps =
    flake8
    nose
    cython
    numpy
changedir = {envdir}
commands =
    python {toxinidir}/runtests.py -n -m full {posargs:}
# flake8 --exit-zero pywt

[pep8]
max_line_length = 79
statistics = True
ignore = E121,E122,E123,E125,E126,E127,E128,E226,E231,E501,E712