-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (72 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
78 lines (72 loc) · 2.01 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
[project]
name = "ElectionLeaflets"
version = "0.0.0"
description = "An online archive of political leaflets"
readme = "README.md"
requires-python = "==3.12.*"
dependencies = [
"dj-pagination==2.5.0",
"django-extensions== 4.1.0 ",
"django-filter==25.2",
"django-formtools==2.5.1",
"django-localflavor==5.0",
"django-pipeline==4.1.0",
"django-s3file==5.5.7",
"django-ses==4.4.0",
"django-static-jquery==2.1.4",
"django-storages==1.14.6",
"django==5.2.13",
"djangorestframework==3.16.1",
"factory-boy==3.3.3",
"markdown==3.8.1",
"piexif==1.0.12",
"pillow==12.2.0",
"psycopg2-binary==2.9.10",
"sorl-thumbnail==12.11.0",
"sentry-sdk==2.20.0",
"python-slugify==8.0.4",
"requests==2.33.0",
"aws-wsgi",
"dc-design-system",
"dc-django-utils",
"django-uk-political-parties",
]
[tool.uv]
package = false
required-version = "==0.9.*"
[tool.uv.workspace]
members = ["thumbs"]
[tool.uv.sources]
aws-wsgi = { git = "https://github.com/DemocracyClub/awsgi.git", rev = "b286f129c5580547577f942c75be74cdca707386" }
dc-design-system = { git = "https://github.com/DemocracyClub/design-system.git", tag = "0.9.0" }
dc-django-utils = { git = "https://github.com/DemocracyClub/dc_django_utils.git", tag = "8.0.5" }
django-uk-political-parties = { git = "https://github.com/DemocracyClub/django-uk-political-parties.git", rev = "86ffa51f8306858c379c9de5be2f4bdb24b3a910" }
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "electionleaflets.settings.testing"
python_files = ["test_*.py", "*_test.py"]
addopts = "--reuse-db --tb=short -p no:warnings"
django_debug_mode = true
[tool.ruff]
line-length = 80
lint.ignore = ["E501"]
lint.extend-select = [
"I",
"C4",
"SIM",
"Q003",
"RET",
]
[dependency-groups]
dev = [
"pytest==9.0.3",
"pytest-cov==6.0.0",
"pytest-django==4.11.0",
"pytest-playwright==0.7.2",
"moto[s3]==5.1.1",
"django-debug-toolbar==6.0.0",
"ruff==0.9.10",
]
deploy = [
"urllib3==2.6.3",
"boto3==1.37.11",
]