-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
105 lines (94 loc) · 2.45 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
[tool.poetry]
name = "muse_for_anything"
version = "0.1.0"
description = "A tool for managing Ontologies with Data."
authors = ["Fabian Bühler"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
flask = { extras = ["dotenv"], version = "^3.0.0" }
invoke = "^2.2.0"
Flask-JWT-Extended = "^4.6.0"
Flask-Cors = "^4.0.0"
Flask-SQLAlchemy = "^3.1.1"
SQLAlchemy = "^2.0.23"
Flask-Login = "^0.6.3"
Flask-Migrate = "^4.0.5"
flask-babel = "^4.0.0"
flask-smorest = "^0.44.0"
Flask-Static-Digest = "^0.4.1"
oso = "^0.27.3"
tomli = "^2.0.0"
marshmallow-jsonschema = "^0.13.0"
jsonschema = "4.23.0"
bcrypt = "^4.0.0"
werkzeug = "3.0.1"
psycopg2 = { version = "^2.9.9", optional = true }
PyMySQL = { version = "^1.1.1", optional = true }
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
flake8 = "^7.1.0"
pytest = "^8.3.1"
flake8-docstrings = "^1.7.0"
flake8-bugbear = "^24.4.26"
Sphinx = "^7.4.7"
sphinxcontrib-redoc = "^1.6.0"
sphinx-click = "^6.0.0"
myst-parser = "^3.0.1"
sphinx-rtd-theme = "^2.0.0"
pip-licenses = "^4.5.1"
[tool.poetry.extras]
psycopg2 = ["psycopg2"]
PyMySQL = ["PyMySQL"]
[tool.poetry.scripts]
#flask = 'flask.cli:main'
[tool.black]
target-version = ["py37"]
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 = 2022
theme = "sphinx_rtd_theme"
enable-autodoc = true
enable-autosectionlabel = true
# documentation for myst: <https://myst-parser.readthedocs.io/en/latest>
enable-markdown = 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
[tool.sphinx.intersphinx-mapping]
python = ["https://docs.python.org/3"]
gunicorn = ["https://docs.gunicorn.org/en/latest/"]
[tool.sphinx.myst]
# settings documentation: <https://myst-parser.readthedocs.io/en/latest/syntax/optional.html>
# create anchors for h1 and h2
heading_anchors = 2
extensions = [
#"amsmath",
"colon_fence",
"deflist",
"dollarmath",
# "fieldlist",
"html_admonition",
"html_image",
#"linkify", # requires installation of linkify-it-py
"replacements",
"smartquotes",
"substitution",
# "strikethrough",
"tasklist",
]
# substitutions = {"key": "substitution value"}
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"