-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
78 lines (68 loc) · 1.59 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[tool.poetry]
name = "evalutils"
version = "0.5.0"
description = "evalutils helps users create extensions for grand-challenge.org"
authors = ["James Meakin <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/comic/evalutils"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Natural Language :: English",
]
[tool.poetry.scripts]
evalutils = "evalutils.__main__:main"
[tool.poetry.dependencies]
python = "^3.9"
scipy = "*"
numpy = "*"
scikit-learn = "*"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-xdist = "*"
pytest-randomly = "*"
pytest-cov = "*"
sphinx = "*"
sphinx_autodoc_typehints = "*"
SimpleITK = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
known_first_party = ["evalutils", "tests"]
line_length = 79
[tool.black]
line-length = 79
target-version = ['py39']
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
python_files = "tests.py test_*.py *_tests.py"
addopts = "--strict-markers --showlocals -n auto --dist loadscope --durations=10"
markers = [
]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py39, py310, py311, py312
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
allowlist_externals =
poetry
setenv =
PYTHONPATH = {toxinidir}
commands =
poetry install -v
poetry run pytest --cov-branch --cov-report term-missing --cov=evalutils --basetemp={envtmpdir} {posargs}
"""