-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
110 lines (97 loc) · 2.79 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
107
108
109
110
[tool.poetry]
name = "qiskit-quantuminspire"
version = "0.1.0"
description = "Qiskit provider for Quantum Inspire backends "
authors = ["Quantum Inspire <[email protected]>"]
readme = "README.md"
homepage = "https://www.quantum-inspire.com"
repository = "https://github.com/qutech-delft/qiskit-quantuminspire"
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"
qiskit = "^1.2.0"
qi-compute-api-client = "^0.39.0"
pydantic = "^2.10.4"
requests = "^2.32.3"
opensquirrel = "^0.1.0"
[tool.poetry.group.dev.dependencies]
black = {extras = ["jupyter"], version = "^24.10.0"}
coverage = {extras = ["toml"], version = "^7.6.10"}
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"
freezegun = "^1.5.1"
responses = "^0.25.3"
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"}
qiskit-sphinx-theme = {version = "^2.0.0", 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"