@ -4,21 +4,28 @@
# and then run "tox" from this directory.
[tox]
envlist = py27, py32, py33, py34, report
minversion = 1.8
envlist = py27
skip_missing_interpreters = True
[testenv]
changedir=tests
deps =
-r./requirements.txt
coverage
coveralls
commands =
coverage run --source=wafo setup.py test
changedir = -r{toxinidir}/wafo
[testenv:report]
basepython = python2.7
coverage combine
coverage report -m
usedevelop = true
py.test {posargs}
pytest
-r{toxinidir}/requirements.txt
[testenv:flake8]
changedir = {toxinidir}
deps = flake8
commands = flake8 setup.py wafo tests
# Options for flake8
#[flake8]
# Options for pytest
[pytest]
addopts = -rsxXf
@ -1,6 +1,7 @@
from __future__ import division, print_function, absolute_import
from .info import __doc__
from . import misc
from . import data
from . import demos
@ -17,7 +17,7 @@ from scipy.special import gammaln, gamma, psi
from scipy.integrate import trapz, simps
import warnings
from time import strftime, gmtime
from plotbackend import plotbackend
from .plotbackend import plotbackend
from collections import OrderedDict
try:
import c_library as clib # @UnresolvedImport