-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (40 loc) · 1.08 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
[tool.poetry]
name = "qibo_comb_optimisation"
version = "0.1.0"
description = "higher-level application developments for combinatorial optimisation problems"
authors = ["The Qibo team"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include="qibo_comb_optimisation", from="src"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
qibo = ">=0.2.0"
docs = "^0.1.0"
qibojit = "^0.1.5"
[tool.poetry.group.analysis.dependencies]
pylint = "^3.2.2"
[tool.poetry.group.tests.dependencies]
pytest = "^8.2.1"
pytest-cov = "^4.0.0"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.3.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ['tests/']
filterwarnings = ['ignore::RuntimeWarning']
addopts = [
'--cov=qibo_comb_optimisation',
'--cov-append',
'--cov-report=xml',
'--cov-report=html',
'--durations=60',
]
[tool.poe.tasks]
test = "pytest"
lint = "pylint src --errors-only"
lint-warnings = "pylint src --exit-zero"
docs = "make -C doc html"
docs-clean = "make -C doc clean"
test-docs = "make -C doc doctest"