Skip to content

Commit

Permalink
Adds new codequality tools
Browse files Browse the repository at this point in the history
Adds code health and coverage tools and adds badges for license and PyPi
  • Loading branch information
Trybnetic authored Mar 24, 2017
2 parents 28e0336 + d8ef94d commit dadb1d2
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .landscape.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
doc-warnings: true
test-warnings: true
max-line-length: 120
ignore-paths:
- doc
python-targets:
- 3
23 changes: 19 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.


2 changes: 1 addition & 1 deletion pyndl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__author__ = ('David-Elias Künstle, Lennard Schneider, '
'Konstantin Sering, Marc Weitz')
__author_email__ = '[email protected]'
__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.')
Expand Down
12 changes: 10 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dadb1d2

Please sign in to comment.