Skip to content

Commit

Permalink
fix spaceing in example for doctest; removes official python 3.7 supp…
Browse files Browse the repository at this point in the history
…ort; adds python 3.10 support
  • Loading branch information
derNarr committed Apr 13, 2022
1 parent d4f22e5 commit 47eaf1a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ git:
quiet: true

python:
- 3.10
- 3.9
- 3.8
- 3.7

install:
- pip3 install --upgrade pip # all three OSes agree about 'pip3'
Expand Down
12 changes: 7 additions & 5 deletions doc/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,15 @@ weight matrix by specifying the ``weight`` argument:
... betas=(0.1, 0.1), method='openmp', weights=weights)
>>> weights2 # doctest: +ELLIPSIS
<xarray.DataArray (outcomes: 8, cues: 15)>
array(...
array([[ 0.24...
...
...)
...]])
Coordinates:
* outcomes (outcomes) <U6 ...
* cues (cues) <U2 ...
Attributes: ...
* outcomes (outcomes) <U6 'hand' 'plural'...
* cues (cues) <U2 '#h' 'ha' 'an' 'nd'...
Attributes:
date:...
event_path:...
...
As you may have noticed already, :py:mod:`pyndl.ndl.ndl` provides you with meta
Expand Down
4 changes: 2 additions & 2 deletions pyndl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'David-Elias Künstle, Lennard Schneider, '
'Elnaz Shafaei-Bajestan')
__author_email__ = 'konstantin.sering@uni-tuebingen.de'
__version__ = '0.8.1'
__version__ = '0.8.2'
__license__ = 'MIT'
__description__ = ('Naive discriminative learning implements learning and '
'classification models based on the Rescorla-Wagner '
Expand All @@ -38,9 +38,9 @@
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39}-test, checkstyle, documentation
envlist = py{38,39,310}-test, checkstyle, documentation

[testenv]
usedevelop = True
Expand Down

0 comments on commit 47eaf1a

Please sign in to comment.