-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (82 loc) · 2 KB
/
pyproject.toml
File metadata and controls
92 lines (82 loc) · 2 KB
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
[tool.poetry]
name = "metropolis"
version = "2.3"
description = "William Lyon Mackenzie's online hub for announcements, calendar events, clubs, and timetables"
license = "AGPLv3"
authors = ["nyiyui <+@nyiyui.ca>", "Jason Cameron <jason@jasoncameron.dev>"]
readme = "README.md"
repository = "https://github.com/wlmac/metropolis"
documentation = "https://docs.maclyonsden.com"
[tool.poetry.dependencies]
python = "~3.12"
asgiref = "^3.7.2"
bleach = "~4"
certifi = "*"
cffi = "*"
charset-normalizer = "*"
cryptography = "^46.0.5"
defusedxml = "^0.7.1"
Django = "^5.1.15"
django-allauth = "~65.14"
django-cors-headers = "^3.10.0"
django-oauth-toolkit = "^3.0.1"
django-pwa = "*"
django-redis = "^5.0.0"
django-select2 = "*"
djangorestframework = "*"
djangorestframework-simplejwt = "*"
Markdown = ">3.0.0"
martor = "*"
oauthlib = "^3.2.2"
pillow = "^12.1.1"
pytz = "*"
redis = "^4.4.4"
requests = "*"
requests-oauthlib = "*"
urllib3 = "*"
django_ical = "~1.8"
celery = "*"
exponent_server_sdk = "*"
django-hijack = "*"
drf-spectacular = "0.27.0"
memoization = "^0.4.0"
psycopg = [
{ version = "~3.1", markers = "sys_platform == 'linux'" },
{ extras = [
"binary",
], version = "~3.1", markers = "sys_platform != 'linux'" },
]
gunicorn = "^23.0.0"
sentry-sdk = { extras = ["django", "celery"], version = "^2.8.0" }
gspread = "^6.1.4"
google-genai = "^1.0.0"
django-reversion = "^5.1.0"
[tool.poetry.group.dev.dependencies]
django-stubs = "*"
pre-commit = "^4.5.1"
ruff = "0.15.6"
[tool.poetry.requires-plugins]
poetry-plugin-export = ">=1.8"
[tool.ruff]
exclude = ["core/migrations", ".gitignore"]
[tool.ruff.lint]
select = [ # https://docs.astral.sh/ruff/rules/
"E",
"F",
"I",
"UP",
"B",
"SIM",
"C4",
# "FIX",
]
ignore = ["E501", "C408"]
[tool.ruff.format]
docstring-code-format = true
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "metropolis.settings"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"