-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
95 lines (82 loc) · 2.33 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
[tool.poetry]
name = "statsservice"
version = "0.5.3"
description = "Stats Service for MONARC."
authors = ["Cédric Bonhomme <[email protected]>"]
license = "AGPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/monarc-project/stats-service"
repository = "https://github.com/monarc-project/stats-service"
documentation = "https://www.monarc.lu/documentation/stats-service"
keywords = ["monarc", "security", "stats", "flask", "api"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Topic :: Security",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"
]
include = [
"README.md",
"COPYING",
"app.py"
]
packages = [
{ include = "statsservice" },
{ include = "instance" },
]
[tool.poetry.scripts]
monarc-stats-service = "app:run"
monarc-stats-service-client-create = "statsservice.commands.client:client_create"
monarc-stats-service-client-list = "statsservice.commands.client:client_list"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
Flask = "^2.0.2"
werkzeug = "3.0.6"
requests = "^2.31.0"
flask_restx = "^1.3.0"
jsonschema = "^3.2.0"
Flask-SQLAlchemy = "^3.0.3"
psycopg2-binary = "^2.9.9"
Flask-Principal = "^0.4.0"
flask_login = "^0.6.1"
Flask-Babel = "^2.0.0"
alembic = "^1.13.0"
Flask-Migrate = "^4.0.5"
pymosp = "^0.4.2"
packaging = "^23.2"
python-dateutil = "^2.8.2"
mypy = "^0.950"
typing-extensions = "^4.2.0"
types-requests = "^2.31.0.10"
types-python-dateutil = "^2.8.19.14"
[tool.poetry.group.dev.dependencies]
flake8 = "^4.0.1"
pytest = "^7.1.2"
gitchangelog = "^3.0.4"
sphinx-multiversion = "^0.2.4"
pre-commit = "^2.19.0"
black = ">=22.3,<25.0"
pyupgrade = "^2.32.1"
reorder-python-imports = "^3.1.0"
sphinx-book-theme = "^0.3.2"
sphinx-autodoc-typehints = "^1.18.3"
pip-audit = "^2.5.6"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true
ignore_errors = false
ignore_missing_imports = true
strict_optional = true
no_implicit_optional = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unreachable = true
show_error_context = true
pretty = true
exclude = "migrations|docs|statsservice/commands"