Skip to content

Commit

Permalink
make clean_register public fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Apr 3, 2022
1 parent d98cac7 commit 43652e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ dynamic = [
[project.optional-dependencies]
test = [
"pytest > 7.0.0",
"pytest-cov[all]",
"pydantic",
"numpy",
"napari"
Expand All @@ -42,6 +41,9 @@ cbor = [
"cbor2"
]

[project.entry-points.pytest11]
nme = "nme._testsupport"

[project.urls]
Homepage = "https://github.com/Czaki/nme"
Documentation = "https://nme.readthedocs.io/en/latest/"
Expand All @@ -55,7 +57,7 @@ build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=nme"
addopts = ""
testpaths = [
"src/tests",
]
Expand Down
File renamed without changes.
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ python =
3.10: py310

[testenv]
deps =
coverage
extras =
test
cbor

commands =
python -m pytest src/tests --cov {envsitepackagesdir}/nme --cov-report=xml
coverage run --source={envsitepackagesdir}/nme -m pytest src/tests
coverage report -m

[flake8]
max-line-length = 120
Expand Down

0 comments on commit 43652e7

Please sign in to comment.