-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
63 lines (56 loc) · 1.38 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "newamerica-cms"
classifiers = ["Private :: Do Not Upload"]
version = "0"
dependencies = [
# Django related
'Django >= 3.2.6, < 4',
'Wagtail >= 5.2.2, < 5.3',
'Celery >= 4.4, < 5.0',
'dj-database-url >= 1.3.0, < 2',
'django-cors-headers >= 3.13.0, < 4',
'django-storages >= 1.13, < 2',
'django-compressor >= 3.0',
'django-anymail >= 9.0, < 10',
'django-filter',
'django-modelcluster',
'whitenoise >= 6.4, <7',
'django-redis >= 5.2, <6',
'django-basic-auth-ip-whitelist >= 0.5',
'django-csp >= 3.7, <4',
# Other packages
'Wand >= 0.6.11',
'psycopg2 >=2.8, <3',
'WeasyPrint==51',
'python-docx >= 0.8.11',
'boto3 >= 1.26, <2',
'elasticsearch >= 5.5, <6',
'redis >= 3.4.1, < 4',
# See https://github.com/wagtail/wagtail-autocomplete
'wagtail-autocomplete >= 0.10.0',
# See https://pypi.org/project/django-multiselectfield/
'django-multiselectfield >= 0.1.12',
'gunicorn == 20.0.4',
'wagtail-headless-preview == 0.7',
]
[project.optional-dependencies]
prod = [
'sentry-sdk >= 1.19.1',
]
test = [
'Faker >= 18.4, < 19',
]
dev = [
'fabric >= 2.6.0, < 3',
'ruff',
'black',
]
[tool.black]
target-version = ['py310']
line-length = 88
[tool.ruff]
select = ['E', 'F', 'I']
ignore = ['E501']