-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 1.94 KB
/
pyproject.toml
File metadata and controls
86 lines (77 loc) · 1.94 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "qse"
description = "Quantum Simulation Environment"
readme = "README.md"
authors = [
{name = "Rajarshi Tiwari", email = "rajarshi.tiwari@ichec.ie"},
{name = "Karthik Krishnakumar", email = "karthik.krishnakumar@ichec.ie"},
{name = "James Nelson", email = "james.nelson@ichec.ie"},
{name = "Sherry Blair", email = "sherry.blair@ichec.ie"},
{name = "Pablo Suárez Vieites", email = "pablo.suarez@ichec.ie"},
]
version = "1.1.13"
requires-python = ">=3.10"
dependencies = [
"numpy",
"matplotlib",
"qutip",
]
[tool.setuptools.package-dir]
qse = "qse"
[project.urls]
homepage = "https://github.com/ichec/qse"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-sugar",
"ipykernel",
"flake8",
"black[jupyter]",
"isort",
"Flake8-pyproject",
"pulser", # required for tests
]
pulser = ["pulser"]
myqlm = ["myqlm"]
docs = [
"jupyter-book>=1.0.0,<2.0.0",
"jupyter-sphinx",
"myst-nb>=1.1.0",
"sphinx-autoapi>=3.0.0",
"sphinx-copybutton",
"sphinx-togglebutton",
"sphinxcontrib-mermaid",
"ipykernel",
"ipywidgets",
"ipympl",
"pulser", # required for creating the docs
"qiskit"
]
[tool.black]
line-length = 88
[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = false
enable_error_code = 'ignore-without-code'
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov=qse"
[tool.flake8]
count = true
# Recommend matching the black line length (default 88)
# rather than using the flake8 default of 79:
max-line-length = 88
ignore = [
"E203", # Whitespace before ':' , see https://github.com/PyCQA/pycodestyle/issues/373
"E741", # Do not use variables named 'I', 'O', or 'l', may remove in future
"W503", # Line break occurred before a binary operator
]
statistics = true
show-source = true
#