-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (75 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
83 lines (75 loc) · 1.81 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
[project]
name = "website"
version = "0.0.0"
description = "democracyclub.org.uk"
readme = "README.md"
requires-python = "==3.12.*"
dependencies = [
"django-storages==1.14.6",
"markdown-headdown==0.1.3",
"psycopg2-binary==2.9.10",
"sentry-sdk==2.17.0",
"sorl-thumbnail==12.11.0",
"pillow==12.2.0",
"Markdown==3.8.1",
"django==5.2.13",
"aws-wsgi",
"django-typogrify",
"dc-design-system",
"dc-django-utils",
]
[tool.uv]
package = false
required-version = "==0.9.*"
[tool.uv.sources]
aws-wsgi = { git = "https://github.com/DemocracyClub/awsgi.git", tag = "v0.2.8" }
django-typogrify = { git = "https://github.com/matthewn/django-typogrify.git", tag = "v2.0" }
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" }
[dependency-groups]
dev = [
"pytest==9.0.3",
"pytest-cov==5.0.0",
"pytest-django==4.11.1",
"pytest-ruff==0.4.1",
"pytest-subtests==0.13.1",
"ruff==0.7.1",
"ipdb==0.13.13",
"pre-commit==3.5.0",
"feedparser==6.0.11",
"djhtml==3.0.7",
]
[tool.ruff]
line-length = 80
extend-exclude = ["democracy_club/settings/local.py"]
[tool.ruff.lint]
ignore = ["E501"]
extend-select = [
"I",
"C4",
"SIM",
"Q003",
"RET",
]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"@abstractmethod"
]
[tool.pytest.ini_options]
norecursedirs =[
"democracy_club/static_root",
"src",
".aws-sam",
".ruff-cache",
]
DJANGO_SETTINGS_MODULE = "democracy_club.settings.testing"
addopts =[
"--ignore=*/__pycache__",
"--ignore=.*",
"--ignore=.download-cache",
"--ignore=democracy_club/settings/local.py",
"--ignore=lib",
"--ruff",
"--ruff-format",
]