diff --git a/.landscape.yml b/.landscape.yml new file mode 100644 index 0000000..b3df548 --- /dev/null +++ b/.landscape.yml @@ -0,0 +1,7 @@ +doc-warnings: true +test-warnings: true +max-line-length: 120 +ignore-paths: + - doc +python-targets: + - 3 diff --git a/README.rst b/README.rst index f641de0..ce802e5 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,25 @@ Readme pyndl ============ -.. image:: https://travis-ci.com/dekuenstle/pyndl.svg?token=nAo9MxVBWCT7YyFRxEP4&branch=master - :target: https://travis-ci.com/dekuenstle/pyndl +.. image:: https://api.travis-ci.org/quantling/pyndl.svg + :target: https://travis-ci.com/quantling/pyndl + +.. image:: https://landscape.io/github/quantling/pyndl/master/landscape.svg?style=flat + :target: https://landscape.io/github/quantling/pyndl/master + :alt: Code Health + +.. image:: https://coveralls.io/repos/github/quantling/pyndl/badge.svg?branch=master + :target: https://coveralls.io/github/quantling/pyndl?branch=master + +.. image:: https://img.shields.io/pypi/pyversions/pyndl.svg + :target: https://pypi.python.org/pypi/pyndl/ + +.. image:: https://img.shields.io/github/license/quantling/pyndl.svg + :target: https://github.com/quantling/pyndl/blob/master/LICENSE.txt + +.. image:: https://zenodo.org/badge/80022085.svg + :target: https://zenodo.org/badge/latestdoi/80022085 + This python3 package is a collection of useful script in order to run tasks on huge amounts of text file corpora. Especially, it allows to efficiently apply @@ -144,5 +161,3 @@ weights file : netCDF format is used to store these information along side with meta data, which contains the learning parameters, the time needed to calculate the weights, the version of the software used and other information. - - diff --git a/pyndl/__init__.py b/pyndl/__init__.py index 4f57a81..a700fa6 100644 --- a/pyndl/__init__.py +++ b/pyndl/__init__.py @@ -1,7 +1,7 @@ __author__ = ('David-Elias Künstle, Lennard Schneider, ' 'Konstantin Sering, Marc Weitz') __author_email__ = 'konstantin.sering@uni-tuebingen.de' -__version__ = '0.2.2' +__version__ = '0.2.3' __license__ = 'MIT' __description__ = ('Naive discriminative learning implements learning and ' 'classification models based on the Rescorla-Wagner equations.') diff --git a/tox.ini b/tox.ini index 7979cd3..89271d3 100644 --- a/tox.ini +++ b/tox.ini @@ -13,9 +13,17 @@ deps = pep8 commands = pep8 pyndl tests [testenv:testcov] +usedevelop = True +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH deps = - pytest-cov -commands = py.test --cov=pyndl tests + mock + pytest + pytest-runner + sh + coveralls +commands = + coverage run --source=pyndl setup.py test + coveralls [testenv:lint] deps = pylint