Skip to content

Commit

Permalink
Issue #62: Update Python=3.10 in tox.ini.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattClarkson committed Apr 12, 2024
1 parent eb87bfa commit 98970ee
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py37,lint
envlist = test,lint
skipsdist = True
requires = setuptools >= 47.1

[travis]
python =
3.7: py37, docs, lint

[testenv]
basepython=python3.10
passenv = *
deps=-rrequirements-dev.txt

[testenv:test]
whitelist_externals=coverage,pip
commands_pre=ipython kernel install --user --name=sksurgerycalibration
# See .coveragerc for list of omitted files
Expand All @@ -18,23 +17,8 @@ commands = coverage erase
coverage report -m

[testenv:lint]
basepython=python3.7
deps=pylint
{[testenv]deps}
commands=pylint --rcfile=tests/pylintrc sksurgerycalibration tests

[testenv:docs]
basepython=python3.7
changedir = docs
commands = sphinx-build -M html . build

[testenv:installer]
basepython=python3.7
commands=pyinstaller --onefile sksurgerycalibration.py --noconfirm --windowed

[testenv:pip3]
basepython=python3.7
changedir=pip_test
skip_install=True
commands = pip install {posargs}
sksurgerycalibration --help

0 comments on commit 98970ee

Please sign in to comment.