-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
89 lines (81 loc) · 1.7 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
[tool.poetry]
name = "pste"
version = "0.9.3"
description = "Just a simple file hosting application inspired by the likes of pomf.se and teknik.io."
authors = ["Lee Watson <me@lwatson.dev>"]
license = "GPL-3.0+"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
flask = "^3.0.0"
flask-login = "^0.6.3"
flask-sqlalchemy = "^3.1.1"
flask-wtf = "^1.0.0"
flask-assets = "^2.0"
libsass = "^0.23.0"
cssmin = "^0.2.0"
dynaconf = { version = "^3.2.4", extras = ["yaml"] }
passlib = { extras = ["argon2"], version = "^1.7.0" }
python-magic = "^0.4.0"
humanize = "^4.9.0"
pygments = "^2.7.0"
sentry-sdk = { extras = ["flask"], version = "^2.8.0" }
psycopg = "^3.1.18"
gunicorn = { version = "^23.0.0", extras = ["gevent"] }
email_validator = "^2.1.0"
python-dotenv = "^1.0.1"
python-box = "^7.1.1"
Flask-Session = "^0.7.0"
flask-db = "^0.4.1"
redis = { extras = ["hiredis"], version = "^5.0.3" }
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
Flask-DebugToolbar = "^0.14.0"
ruff = "^0.7.0"
pre-commit-hooks = "^4.5.0"
shellcheck-py = "^0.10.0.1"
[tool.ruff]
target-version = "py312"
force-exclude = true
extend-exclude = ["data/"]
[tool.ruff.lint]
select = [
"A",
"ARG",
"B",
"BLE",
"C4",
"C90",
"DTZ",
"E",
"ERA",
"F",
"FIX",
"FURB",
"I",
"N",
"PL",
"PTH",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"SLF",
"T10",
"T20",
"TID",
"UP",
"W",
"YTT",
]
# ruff format compatibility
ignore = ["E501"]
[tool.ruff.lint.extend-per-file-ignores]
"pste/db/migrations/*" = ["ERA001", "ARG001"]
[tool.ruff.format]
line-ending = "lf"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"