Skip to content

Commit

Permalink
Prepare next release
Browse files Browse the repository at this point in the history
  • Loading branch information
holgern committed Oct 24, 2018
1 parent baca23a commit 0f787fc
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 33 deletions.
6 changes: 6 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
flake8
nose
coverage
cython
numpy
matplotlib
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

MAJOR = 0
MINOR = 1
MICRO = 13
MICRO = 14
ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)

Expand Down
69 changes: 37 additions & 32 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,41 +1,46 @@
# 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 pyedflib source
# directory will:
# - Create a pyedflib source distribution (setup.py sdist)
# - Then for every supported version of Python:
# - Create a virtualenv in {homedir}/.tox/pyedflib/py$VERSION and
# install dependencies. (These virtualenvs are cached across
# runs unless you use --recreate.)
# - Use pip to install the pyedflib sdist into the virtualenv
# - Run the pyedflib 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/pyedflib/
envlist = py26, py27, py33, py34, py35
envlist = py{27,34,35,36,37}
skip_missing_interpreters = true

[testenv]
deps =
flake8
nose
coverage
cython
numpy
matplotlib
-rrequirements-test.txt
changedir = {envdir}
commands =
nosetests --tests {toxinidir}/pyedflib/tests
# flake8 --exit-zero pyedflib

[pep8]
max_line_length = 79
statistics = True
ignore = E121,E122,E123,E125,E126,E127,E128,E226,E231,E501,E712
[testenv:flake8]
deps=
flake8
# flake8-docstrings>=0.2.7
# flake8-import-order>=0.9
# pep8-naming
# flake8-colors
commands=
flake8 beem beemapi beembase beemgraphenebase setup.py examples tests

# Flake8 Configuration
[flake8]
# Ignore some flake8-docstrings errors
# NOTE(sigmavirus24): While we're still using flake8 2.x, this ignore line
# defaults to selecting all other errors so we do not need select=E,F,W,I,D
# Once Flake8 3.0 is released and in a good state, we can use both and it will
# work well \o/
ignore = D203,E129,E501,F401,E722,E122,E111,E114,D102,D100,D103,D107
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs
max-complexity = 10
import-order-style = google
application-import-names = flake8
# format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s

0 comments on commit 0f787fc

Please sign in to comment.