- Properly define pytest as an extra dependency

This commit is contained in:
Wim Pomp
2023-03-31 12:53:09 +02:00
parent 506ee461cb
commit 332eaab6d5
2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
/.idea/
/tiffwrite.egg-info/
/.pytest_cache/
/venv/

View File

@@ -20,9 +20,10 @@ numpy = "*"
tqdm = "*"
colorcet = "*"
matplotlib = "*"
pytest = { version = "*", optional = true }
[tool.poetry.group.test.dependencies]
pytest = "*"
[tool.poetry.extras]
test = ["pytest"]
[build-system]
requires = ["poetry-core"]