-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
88 lines (78 loc) · 2.14 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
[tool.poetry]
name = "flask_template"
version = "0.5.0"
description = "A template for Flask applications with SQLalchemy, Migrations and REST API"
authors = ["Fabian Bühler"]
license = "Unlicense"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9.18"
flask = { extras = ["dotenv"], version = "^3.0.0" }
Flask-JWT-Extended = "^4.6.0"
Flask-Cors = "^4.0.0"
Flask-SQLAlchemy = "^3.1.1"
SQLAlchemy = "^2.0.23"
Flask-Migrate = "^4.0.5"
flask-babel = "^4.0.0"
flask-smorest = "^0.44.0"
tomli = "^2.0.1"
[tool.poetry.group.dev.dependencies]
# use key "tool.poetry.dev-dependencies" if you have to support poetry < 1.2!
black = "^24.4.0"
flake8 = "^7.1.0"
pytest = "^8.2.2"
flake8-docstrings = "^1.7.0"
flake8-bugbear = "^24.4.0"
Sphinx = "^7.2.6"
sphinx-click = "^6.0.0"
myst-parser = "^2.0.0"
invoke = "^2.2.0"
pip-licenses = "^4.3.3"
[tool.poetry.scripts]
#flask = 'flask.cli:main'
[tool.black]
target-version = ["py39"]
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 = 2023
# theme = "sphinx_rtd_theme" # theme must be added to the requirements first!
enable-autodoc = true
enable-autosectionlabel = true
# documentation for myst: <https://myst-parser.readthedocs.io/en/latest>
enable-markdown = "myst"
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"]
[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",
"html_admonition",
"html_image",
#"linkify", # requires installation of linkify-it-py
"replacements",
"smartquotes",
"substitution",
"tasklist",
]
# substitutions = {"key": "substitution value"}
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"