-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
140 lines (125 loc) · 3.48 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
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
[tool.poetry]
name = "qhana_plugin_runner"
version = "0.2.0"
description = "The runner for QHAna plugins."
authors = ["QHAna authors"]
license = "Apache-2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
flask = { extras = ["dotenv"], version = "^2.0.0" }
Flask-JWT-Extended = "^4.0.0"
Flask-Cors = "^3.0.10"
Flask-SQLAlchemy = "^3.0"
Flask-Migrate = "^4.0.0"
flask-babel = "^3.0.0"
flask-smorest = "^0.42"
tomlkit = "^0.11.6"
packaging = "^23.0"
celery = "^5.2.2"
redis = "^4.5.0"
requests = "^2.25.1"
mistune = "^2.0.2"
jsonschema = "^4.6.1"
sqlalchemy-json = "^0.5.0"
sqlalchemy = "^2.0.8"
invoke = "^2.0.0"
psycopg = { version = "^3.1.17", optional = true }
PyMySQL = { version = "^1.0.2", optional = true }
pyrfc6266 = "^1.0.2"
blinker = "^1.6.2"
urllib3 = "^1.26" # we use this version to avoid a dependency conflict with Qiskit dependencies that don't support version 2 yet
[tool.poetry.group.dev.dependencies]
black = ">=24.1.1,<24.2.0"
flake8 = "^3.9.2"
pytest = "^6.2.4"
flake8-docstrings = "^1.6.0"
flake8-bugbear = "^21.4.3"
Sphinx = "^6.0.0"
sphinxcontrib-redoc = "^1.6.0"
sphinx-click = "^4.4.0"
myst-parser = "^2.0.0"
sphinx-rtd-theme = "^1.2.2"
hypothesis = "^6.14.3"
pytest-cov = "^2.12.1"
pip-licenses = "^3.5.3"
linuxdoc = "^20221025"
sphinxcontrib-mermaid = "^0.9.2"
watchdog = "^4.0.1"
[tool.poetry.extras]
psycopg = ["psycopg"]
PyMySQL = ["PyMySQL"]
[tool.poetry.scripts]
#flask = 'flask.cli:main'
[tool.black]
target-version = ["py310"]
line-length = 90
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
reverse_relative = true
group_by_package = true
honor_noqa = true
atomic = true
[tool.sphinx]
copyright-year = 2021
theme = "sphinx_rtd_theme"
enable-autodoc = true
enable-napoleon = true
enable-autosectionlabel = true
enable-markdown = true
enable-mermaid = true
enable-todo = true
# update gitignore if you want to edit docs/changelog.md manually!
include-changelog = true
# update gitignore if you want to edit docs/readme.md manually!
include-readme = true
# experimental/unstable feature
python_use_unqualified_type_names = true
[tool.sphinx.intersphinx-mapping]
python = ["https://docs.python.org/3"]
requests = ["https://requests.readthedocs.io/en/latest/"]
celery = ["https://docs.celeryproject.org/en/stable/"]
# user documentation
qhana = ["https://qhana.readthedocs.io/en/latest/"]
[tool.sphinx.autosectionlabel]
prefix-document = true
[tool.sphinx.mermaid]
d3_zoom = true
# configure javascript initialization
# init_js = """mermaid.initialize({startOnLoad:true});"""
# configure image generation using mermaid cli (https://github.com/mermaidjs/mermaid.cli#options)
# params = ["--theme", "forest", "-p", "puppeteer-config.json"]
[tool.sphinx.myst]
# create anchors for h1 and h2
heading_anchors = 2
# markdown parser; see <https://myst-parser.readthedocs.io/en/latest/syntax/optional.html>
extensions = [
#"amsmath",
"colon_fence",
"deflist",
"dollarmath",
"html_admonition",
"html_image",
#"linkify", # requires installation of linkify-it-py
"replacements",
"smartquotes",
"substitution",
"tasklist",
]
# substitutions = {"key": "substitution value"}
[tool.coverage.report]
# regexes for lines not to cover
exclude_lines = [
# default coverage pragma
"pragma: no cover",
# protocol methods with ...
"\\s*\\.\\.\\.\\s*",
# unreachable code
"if False:",
"if __name__ == .__main__.:",
]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"