Skip to content

Commit

Permalink
Add tox config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Jan 3, 2024
1 parent eac96d8 commit 660c0b1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 34 deletions.
36 changes: 36 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,39 @@ include = ["cellfinder*"]
include = ["cellfinder*"]

[tool.setuptools_scm]

[tool.tox]
legacy_tox_ini = """
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py{39,310}
isolated_build = true
[gh-actions]
python =
3.9: py39
3.10: py310
[testenv]
commands = python -m pytest -v --color=yes
deps =
pytest
pytest-cov
pytest-lazy-fixture
pytest-mock
pytest-timeout
# Even though napari is a requirement for cellfinder.napari, we have to
# ensure it is installed with the default Qt backend here.
napari[all]
pytest-qt
extras =
napari
passenv =
NUMBA_DISABLE_JIT
CI
GITHUB_ACTIONS
DISPLAY
XAUTHORITY
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
"""
34 changes: 0 additions & 34 deletions tox.ini

This file was deleted.

0 comments on commit 660c0b1

Please sign in to comment.