Skip to content

Commit

Permalink
Adds some maintenance changes (#179)
Browse files Browse the repository at this point in the history
* whitelists rm from path

* improves code style

* increases version
  • Loading branch information
Trybnetic authored Jan 13, 2020
1 parent 01e519b commit 0ed4990
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyndl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
__author__ = ('Konstantin Sering, Marc Weitz, '
'David-Elias Künstle, Lennard Schneider')
__author_email__ = '[email protected]'
__version__ = '0.6.4'
__version__ = '0.7.0'
__license__ = 'MIT'
__description__ = ('Naive discriminative learning implements learning and '
'classification models based on the Rescorla-Wagner '
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def pytest_addoption(parser):
parser.addoption("--runslow", action="store_true",
help="run slow tests")


def pytest_runtest_setup(item):
if 'runslow' in item.keywords and not item.config.getoption("--runslow"):
pytest.skip("need --runslow option to run this test")
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist = py{35,36}-test, checkstyle, documentation

[testenv]
usedevelop = True
whitelist_externals=/bin/rm
whitelist_externals=rm
deps =
test: pytest
-rrequirements.txt
Expand All @@ -13,7 +13,7 @@ commands =

[testenv:testdoc]
usedevelop = True
whitelist_externals=/bin/rm
whitelist_externals=rm
deps =
pytest
commands =
Expand Down

0 comments on commit 0ed4990

Please sign in to comment.