-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (93 loc) · 2.8 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tool.poetry]
name = "pennylane-quantuminspire2"
version = "0.1.0"
description = "The PennyLane-QuantumInspire plugin integrates the Quantum Inspire quantum computing backends with PennyLane's quantum machine learning capabilities."
authors = ["Quantum Inspire <[email protected]>"]
readme = "README.md"
homepage = "https://www.quantum-inspire.com"
repository = "https://github.com/qutech-delft/pennylane-quantuminspire2"
classifiers = [
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: Apache Software License'
]
[tool.poetry.dependencies]
python = "^3.9"
pennylane-qiskit = "^0.39.1"
qiskit-quantuminspire = "^0.3.0"
[tool.poetry.group.dev.dependencies]
qi-compute-api-client = "^0.39.0"
requests = "^2.32.3"
black = {extras = ["jupyter"], version = "^24.4.2"}
coverage = {extras = ["toml"], version = "^7.6.9"}
docformatter = "1.7.5"
mypy = "^1.14"
pytest = {extras = ["toml"], version = "^8.3.4"}
pytest-asyncio = "^0.25.0"
pytest-cov = "^6.0.0"
pytest-mock = "^3.14.0"
ruff = "^0.8.4"
types-requests = "^2.32.0"
[tool.poetry.group.docs.dependencies]
sphinx = {version = "^8.1.3", python = "^3.10"}
furo = {version = "^2024.8.6", python = "^3.10"}
myst-nb = {version = "^1.1.2", python = "^3.10"}
tomli = "^2.2.1"
# [tool.pytest.ini_options]
# addopts = "-v --cov --cov-report term-missing:skip-covered --cov-report xml"
# asyncio_mode = "auto"
# testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["quantuminspire"]
omit = ["tests/*", "**/.tox/**", "scratch"]
[tool.coverage.report]
show_missing = true
fail_under = 100
exclude_lines = [
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:"
]
[tool.black]
line-length = 120
[tool.mypy]
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
ignore_missing_imports = true
show_error_codes = true
[tool.ruff]
lint.select = ["E", "F", "I"]
line-length = 120
target-version = "py311"
lint.isort.combine-as-imports = true
[tool.pylint]
MASTER.extension-pkg-whitelist = "pydantic"
FORMAT.max-line-length = 120
[tool.docformatter]
black = true
recursive = true
wrap-summaries = 119
wrap-descriptions = 119
[tool.pydantic-mypy]
warn_untyped_fields = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"