-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
182 lines (153 loc) · 3.53 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
[tool.poetry]
name = "labandco"
version = "2.2.35"
description = "solution métier pour fluidifier les relations entre chercheurs et administration dans les universités et les EPST"
readme = "README.md"
authors = ["Abilian SAS"]
packages = [{ include = "labster", from = "src" }]
include = [
"poetry.lock",
"src/labster/static/**/*",
"migrations/**/*",
"etc/**/*",
"scripts/**/*",
"wsgi.py",
"tasks.py",
"jobs.py",
"annuaire/*",
]
# [[tool.poetry.source]]
# name = "fury"
# url = "https://pypi.fury.io/sfermigier/"
[tool.poetry.dependencies]
python = "^3.10"
abilian-core = ">=0.11.24"
psycopg2 = "*"
flask-redis = "*"
markupsafe = ">=2,<2.1"
# Pinned for now
wtforms = "<3"
flask-assets = "< 2"
flask-babel = "< 2"
werkzeug = "<1"
# Seems tricky
cairocffi = "^1.4.0"
Flask-WeasyPrint = "*"
# Swagger API
# apispec = "<0.39"
# flask-apispec = "==0.4.2"
# Marshmallow & friends
# (Bug with apispec 6.6 and mashmallow < 3)
apispec = "6.3.0"
marshmallow = "<3"
marshmallow-sqlalchemy = "*"
marshmallow-annotations = "*"
flask-smorest = "*"
# Used when sending emails
html2text = "*"
# Used by workflow
inflection = "*"
# LDAP parser (no need for python-ldap)
ldif = "^4.1.3"
# Used by CAS auth
requests = { version = "^2.28.1", extras = ["security"] }
# Used for data classes
attrs = "*"
# Functional libraries (we should standardize on one !).
toolz = "*"
ramda = "^0.5.9"
more-itertools = "*"
# Other
dotted = "*"
iso8601 = "*"
python-dotenv = "^0.10.5"
flask-profiler = "^1.8"
pandas = "^1.5.0"
structlog = "*"
diskcache = "^4.1.0"
jsonrpcserver = "^4.2.0"
email_validator = "*"
apscheduler = "^3.6.3"
pampy = "^0.3.0"
# Used by jobs.py
# loguru = "^0.6"
# Not used
# webargs = "^5.5"
# unidecode = "*"
# openpyxl = "*"
# dictdiffer = "^0.8.1"
# flask-resty = "^0.21.4"
# Normally it's a dev tool, but in case we leave an import
devtools = "*"
glom = "*"
# xlrd = "^1.2"
# Personal forks
flask-injector = "*"
#flask-injector = { git = "https://github.com/abilian/flask_injector.git" }
#Flask-Injector-Abilian = "*"
# q = "*"
#: Production
gunicorn = "<20"
# supervisor for py3 isn't released yet.
# It isn't a pb to run the app though.
# supervisor >= 4
# git+https://github.com/Supervisor/supervisor
loguru = "^0.6.0"
[tool.poetry.group.dev.dependencies]
nox = "*"
abilian-devtools = "*"
# invoke = "^1.7.3"
# Linting
#flake8 = "*"
#flake8-bugbear = "*"
#flake8-comprehensions = "*"
#flake8-mutable = "*"
#flake8-super-call = "*"
#flake8-pytest = "*"
#flake8-tidy-imports = "*"
#bandit = "^1.7.4"
#mypy = "*"
# types:
types-python-dateutil = "^2.8.19"
types-setuptools = "^57.4.18"
types-pytz = "^2021.3.8"
types-requests = "^2.28.11.1"
# dephell = "^0.7.4"
# Temp (otherwise it resolves to 0.0.1 !)
# bowler = "^0.8.0"
# fissix = "19.2b1"
pre-commit = "*"
# testing
pytest = "*"
pytest-cov = "*"
pytest-mock = "*"
# pytest-randomly = "^3.1"
tox = "*"
typeguard = "*"
jsonrpcclient = "^3.3.6"
honcho = "*"
# Other tools
tabulate = "^0.8.10"
gitchangelog = "^3.0.4"
gitignore_parser = "^0.0.5"
selenium = "^3.141.0"
vulture = "^2.6"
sqla2uml = "^0.1.2"
# portray = "^1.7.0"
# pyinfra = "^0.11"
[tool.poetry.scripts]
labster = "labster.cli:cli"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.ruff]
ignore = [
"E711", # comparison to None should be 'if cond is not None:'
"E712", # ...
"E501", # line too long
# FIXME:
"F401", # 'module' imported but unused
"E402", # Module level import not at top of file
"E741", # Ambiguous variable name: `l`
"E722", # Do not use bare `except`
]