-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
74 lines (64 loc) · 1.46 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
[tool.poetry]
name = "gcapi"
version = "0.12.0"
description = "Python client for the grand-challenge.org REST API"
authors = ["James Meakin <gcapi@jmsmkn.com>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/DIAGNijmegen/rse-gcapi"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
]
[tool.poetry.scripts]
gcapi = "gcapi.cli:main"
[tool.poetry.dependencies]
python = "^3.9"
httpx = "~0.23.0"
Click = ">=6.0"
pydantic = "*"
[tool.poetry.group.dev.dependencies]
pytest = "*"
pytest-randomly = "*"
pytest-cov = "*"
pyyaml = "*"
datamodel-code-generator = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
known_first_party = ["gcapi", "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"
xfail_strict = true
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py39, py310, py311, py312, py313
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
allowlist_externals =
poetry
setenv =
PYTHONPATH = {toxinidir}
commands =
poetry install -v
poetry run pytest --cov-branch --cov-report term-missing --cov=tests/ --cov=gcapi/ --basetemp={envtmpdir} {posargs}
"""