-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
83 lines (76 loc) · 2.09 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
[tool.black]
line-length = 79
exclude = '''
/(
\.git
| \.venv
)/
'''
[tool.commitizen]
name = "cz_conventional_commits"
bump_message = "bump: version $current_version → $new_version"
version_format = "$version"
version = "0.4.0"
version_files = [
"qrand/__init__.py:__version__",
"tests/test_qrand.py:__version__",
"pyproject.toml:version",
"QRAND.bib:version"
]
style = [
["qmark", "fg:#ff9d00 bold"],
["question", "bold"],
["answer", "fg:#ff9d00 bold"],
["pointer", "fg:#ff9d00 bold"],
["highlighted", "fg:#ff9d00 bold"],
["selected", "fg:#cc5454"],
["separator", "fg:#cc5454"],
["instruction", ""],
["text", ""],
["disabled", "fg:#858585 italic"]
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 79
[tool.poetry]
name = "qrand"
version = "0.4.0"
description = "A multiprotocol and multiplatform quantum random number generation framework"
readme = "README.md"
homepage = "https://github.com/pedrorrivero/qrand"
authors = ["Pedro Rivero <[email protected]>"]
license = "Apache-2.0"
[tool.poetry.dependencies]
python = "^3.9"
numpy = "^1.19.4"
randomgen = "^1.19.3"
qiskit-aer = { version = "^0.8.2", optional = true }
qiskit-ibmq-provider = { version = "0.12.3", optional = true }
qiskit-terra = { version = "^0.17.2", optional = true }
cirq = { version = "^0.10.0", optional = true }
qsharp = { version = "^0.15.2103", optional = true }
[tool.poetry.extras]
qiskit = ["qiskit-aer", "qiskit-ibmq-provider", "qiskit-terra"]
cirq = ["cirq"]
qsharp = ["qsharp"]
[tool.poetry.dev-dependencies]
pre-commit = "^2.7.1"
commitizen = "^2.17.7"
pytest = "^6.1.1"
pytest-cov = "^2.10.1"
black = "^20.8b1"
isort = "^5.6.4"
mypy = "^0.790"
data-science-types = "^0.2.20"
qiskit-aer = { version = "^0.8.2" }
qiskit-ibmq-provider = { version = "0.12.3" }
qiskit-terra = { version = "^0.17.2" }
cirq = { version = "^0.10.0" }
qsharp = { version = "^0.15.2103" }
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"