From 7fd34a8a561b853ac7229b75c0b0b1d939ce42db Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 11:09:15 +0100 Subject: [PATCH 01/11] fixes travis badge --- README.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index f641de0..a73893e 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,8 @@ 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 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 +144,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. - - From c9ae8ebda58ef790b648ed9d9cd0028f8072b968 Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 11:27:21 +0100 Subject: [PATCH 02/11] adds codecoverage by coveralls --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 7979cd3..6531e74 100644 --- a/tox.ini +++ b/tox.ini @@ -13,9 +13,12 @@ deps = pep8 commands = pep8 pyndl tests [testenv:testcov] +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH deps = - pytest-cov -commands = py.test --cov=pyndl tests + coveralls +commands = + coverage run --source=pyndl setup.py test + coveralls [testenv:lint] deps = pylint From 716ba0f1d48269904df2807f491713bd04843f17 Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 11:36:21 +0100 Subject: [PATCH 03/11] adds pytest dep for testcov --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 6531e74..7484d3f 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,7 @@ commands = pep8 pyndl tests [testenv:testcov] passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH deps = + pytest coveralls commands = coverage run --source=pyndl setup.py test From b06afefd0d0a22e812ada4969ee3b7f38cf9c3fd Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 11:48:36 +0100 Subject: [PATCH 04/11] adds missing deps --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 7484d3f..89271d3 100644 --- a/tox.ini +++ b/tox.ini @@ -13,9 +13,13 @@ deps = pep8 commands = pep8 pyndl tests [testenv:testcov] +usedevelop = True passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH deps = + mock pytest + pytest-runner + sh coveralls commands = coverage run --source=pyndl setup.py test From 22c181aad396beed6fad231a25a44ff610b59cef Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 11:53:36 +0100 Subject: [PATCH 05/11] adds coveralls badge --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index a73893e..a0a4b2a 100644 --- a/README.rst +++ b/README.rst @@ -5,6 +5,10 @@ Readme pyndl .. image:: https://api.travis-ci.org/quantling/pyndl.svg :target: https://travis-ci.com/quantling/pyndl +.. image:: https://coveralls.io/repos/github/quantling/pyndl/badge.svg?branch=master + :target: https://coveralls.io/github/quantling/pyndl?branch=master + + 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 the Rescorla-Wagner learning rule to these corpora. From 841c9a9f9a9af2bc4bc0ee4cdb5af994a78b69bc Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 18:59:36 +0100 Subject: [PATCH 06/11] adds zenodo doi, solves #37 --- README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.rst b/README.rst index a0a4b2a..d17980d 100644 --- a/README.rst +++ b/README.rst @@ -8,6 +8,9 @@ Readme pyndl .. image:: https://coveralls.io/repos/github/quantling/pyndl/badge.svg?branch=master :target: https://coveralls.io/github/quantling/pyndl?branch=master +.. 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 From 8561e087bd2db7032d1da2252ef0e18982f1b6a3 Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 19:13:47 +0100 Subject: [PATCH 07/11] updates version to 0.2.3 --- pyndl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyndl/__init__.py b/pyndl/__init__.py index aa39914..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.1' +__version__ = '0.2.3' __license__ = 'MIT' __description__ = ('Naive discriminative learning implements learning and ' 'classification models based on the Rescorla-Wagner equations.') From 547e77af66d5b825980fe6bfac953532107b8222 Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 20:09:21 +0100 Subject: [PATCH 08/11] adds code health badge --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index d17980d..524eafb 100644 --- a/README.rst +++ b/README.rst @@ -5,6 +5,10 @@ Readme 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 From 3b5fbf72812a48027a2a969db3cf8cb17a1bb97d Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 20:32:15 +0100 Subject: [PATCH 09/11] adds landscape config --- .landscape.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .landscape.yml diff --git a/.landscape.yml b/.landscape.yml new file mode 100644 index 0000000..374aaf1 --- /dev/null +++ b/.landscape.yml @@ -0,0 +1,4 @@ +ignore-paths: + - doc +python-targets: + - 3 From 34823ad940834599c7ca1918b973d075256e71ac Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 20:52:34 +0100 Subject: [PATCH 10/11] adds doc- and test-warnings --- .landscape.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.landscape.yml b/.landscape.yml index 374aaf1..b3df548 100644 --- a/.landscape.yml +++ b/.landscape.yml @@ -1,3 +1,6 @@ +doc-warnings: true +test-warnings: true +max-line-length: 120 ignore-paths: - doc python-targets: From d8ef94d2d02e603d7f3f9b42118baa18fe27f155 Mon Sep 17 00:00:00 2001 From: Trybnetic Date: Fri, 24 Mar 2017 21:33:48 +0100 Subject: [PATCH 11/11] adds pypi version and license badge --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 524eafb..ce802e5 100644 --- a/README.rst +++ b/README.rst @@ -12,6 +12,12 @@ Readme pyndl .. 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