-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
101 lines (91 loc) · 2.17 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
[tool.poetry]
name = "rca"
version = "0.1.0"
description = ""
authors = ["Kevin Howbrook <[email protected]>"]
[tool.poetry.dependencies]
python = "~3.11"
django = "~4.2"
wagtail = "~6.2"
psycopg2 = "~2.9"
gunicorn = {version = "~23.0", optional = true}
# Django packages
django-basic-auth-ip-whitelist = "~0.5"
django-birdbath = "^2.0.0"
django-cors-headers = "^4.4.0"
django-countries = "^7.6.1"
django-csp = "~3.8"
django-import-export = "3.3.8" # Note: v4+ has breaking changes
# If you update django-import-export, comprehensive testing of the feature should be carried out.
django-pattern-library = "~1.2.0"
django-phonenumber-field = { extras = ["phonenumbers"], version = "^7.3.0" }
django-redis = "~5.4"
django-referrer-policy = "~1.0"
django-storages = { version = "~1.14", extras = ["boto3"] }
dj-database-url = "~2.2"
# Wagtail packages
wagtail-accessibility = "^2.0.0"
wagtail-django-recaptcha = "^2.1.1"
wagtail-factories = "^4.1.0"
wagtail-modeladmin = "^2.0.0"
wagtail-orderable = "^1.2.0"
wagtail-rangefilter = "^0.2.1"
wagtail-storages = "^1.1.0"
# Various
beautifulsoup4 = "^4.12.3"
coverage = "^7.6"
freezegun = "^1.5.1"
html5lib = "^1.1"
lxml = "^5.3.0"
mailchimp-marketing = "^3.0.80"
scout-apm = "~3.2"
sentry-sdk = "^2.15.0"
tblib = "^3.0.0"
urllib3 = "<2"
whitenoise = "~6.7"
social-auth-app-django = "^5.4.2"
[tool.poetry.extras]
gunicorn = ["gunicorn"]
[tool.poetry.group.dev.dependencies]
Werkzeug = "~3.0.4"
django-extensions = "~3.2"
fabric = "~3.2"
stellar = "~0.4"
wagtailmakeup = "^1.1.0"
# Linters etc.
black = "^24.8.0"
detect-secrets = "~1.5"
flake8 = "5.0.4"
isort = "5.13.2"
pre-commit = "~3.5"
# Documentation
mkdocs = "~1.6"
mkdocs-material = "~9.5"
pymdown-extensions = "~10.11"
honcho = "^1.1.0"
django-upgrade = "^1.21.0"
pyupgrade = "^3.17.0"
[build-system]
requires = ["poetry>=1,<2"]
build-backend = "poetry.masonry.api"
[tool.black]
line_length = 88
target-version = ['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.tox
| \.venv
| __pycache__
| _build
| build
| dist
| docs
| venv
| node_modules
)/
)
'''