-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
156 lines (133 loc) · 3.63 KB
/
Copy pathpyproject.toml
File metadata and controls
156 lines (133 loc) · 3.63 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[project]
name = "quantum-executor"
version = "0.1.2"
description = "Quantum Executor: A Unified Interface for Quantum Computing"
readme = "README.md"
requires-python = ">=3.12,<4.0"
license = "AGPL-3.0-or-later"
authors = [
{ name = "Giuseppe Bisicchia", email = "giuseppe.bisicchia@phd.unipi.it" },
]
keywords = ["quantum", "quantum-computing", "quantum-cloud", "quantum-software-engineering", "quantum-interface"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = [
"amazon-braket-sdk>=1.91.2,<2.0.0",
"cirq>=1.5.0,<2.0.0",
"qbraid[azure]>=0.9.5,<0.10.0",
"qbraid-core==0.1.39",
"qiskit>=2.0.0,<3.0.0",
"qiskit-aer>=0.17.0,<0.18.0",
"qiskit-ibm-runtime>=0.38.0,<0.39.0",
]
[project.urls]
homepage = "https://github.com/GBisi/quantum-executor"
repository = "https://github.com/GBisi/quantum-executor"
documentation = "https://quantum-executor.readthedocs.io"
[dependency-groups]
dev = [
"commitizen>=4.6.0,<5.0.0",
"doc8>=1.1.2,<2.0.0",
"ipykernel>=6.29.5,<7.0.0",
"poetry-plugin-export>=1.9.0,<2.0.0",
"pre-commit>=4.2.0,<5.0.0",
"pylint>=3.3.6,<4.0.0",
"pytest>=8.3.5,<9.0.0",
"pytest-cov>=6.1.1,<7.0.0",
"pytest-timeout>=2.3.1,<3.0.0",
]
docs = [
"myst-parser>=4.0.1,<5.0.0",
"sphinx>=8.2,<9.0",
"sphinx-autodoc-typehints>=2.0.0",
"sphinx-rtd-theme>=2.0.0",
]
[tool.poetry]
packages = [{ include = "quantum_executor", from = "src" }]
[tool.black]
line-length = 120
target-version = ["py312"]
[tool.isort]
profile = "black"
line_length = 120
src_paths = ["src"]
# ----------------------------
# Static Analysis & Linting
# ----------------------------
[tool.mypy]
strict = true
[tool.pylint]
max-line-length = 120
[tool.autoflake]
remove-all-unused-imports = false
in-place = false
# ----------------------------
# Documentation Validation
# ----------------------------
[tool.numpydoc_validation]
checks = [
"all", # report on everything except those explicitly disabled
"ES01", # no extended summary required
"EX01", # no examples section required
"SA01", # no see-also section required
]
override_SS05 = [
"^Process ",
"^Assess ",
"^Access ",
]
# ----------------------------
# Test Coverage
# ----------------------------
[tool.coverage.run]
omit = [
"*/tmp/*",
"*/pytest-*/*",
"*/tests/resources/*",
]
# ----------------------------
# Ruff (All-in-one Linter)
# ----------------------------
[tool.ruff]
target-version = "py312"
line-length = 120
lint.select = [
"E","F","I","UP","W","S","B","T20","N","C4","DTZ","PIE","RET",
"SIM","ARG","ANN","D","EXE","ISC","PTH","RUF"
]
lint.ignore = [
"S101", # allow use of assert
"D203", # blank line before class
"D213", # multi-line summary style
"T201", # `print` found
]
[tool.ruff.lint.isort]
known-first-party = ["quantum_executor"]
force-single-line = true
combine-as-imports = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.commitizen]
name = "cz_conventional_commits"
version_provider = "pep621"
tag_format = "v$version"
changelog_file = "CHANGELOG.md"
update_changelog_on_bump = true
bump_message = "bump(release): v$new_version"
major_version_zero = true
version_scheme = "semver"
[tool.semantic_release]
commit_message = "chore(release): 🚀 Release v{version}"
version_toml = [
"pyproject.toml:project.version"
]
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
# ----------------------------
# Formatting & Import Sorting
# ----------------------------