Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (69 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (69 loc) · 1.77 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
[project]
name = "hot-website"
version = "1.0.4"
description = "Wagtail CMS for Humanitarian OpenStreetMap Team"
authors = [
{name = "HOTOSM", email = "sysadmin@hotosm.org"},
{name = "DK Benjamin", email = "dk@hotosm.org"},
{name = "Sam Woodcock", email = "sam.woodcock@hotosm.org"},
]
dependencies = [
"wagtail==7.4.2",
"psycopg2==2.9.9",
"python-dotenv==1.0.0",
"docker==6.1.3",
"gunicorn==21.2.0",
"django-compressor==4.6.0",
"django-browser-reload==1.12.1",
"django-redis==6.0.0",
"wagtail-localize==1.13.1",
"wagtailmenus==4.0",
"wagtail-modeladmin==2.0.0",
"dj-database-url==2.2.0",
"whitenoise==6.6.0",
"django-storages==1.14.6",
"boto3==1.34.129",
"wagtailgeowidget==9.1.0",
"wand==0.6.13",
"marko==2.1.2",
"python-frontmatter==1.1.0",
"django-recaptcha==4.1.0",
"wagtail-markdown==0.12.1",
"wagtail-favicon==0.3.0",
"sentry-sdk==2.58.0",
"pillow-heif==0.22.0"
]
requires-python = ">=3.11"
license = {text = "AGPL-3.0-only"}
[dependency-groups]
dev = [
"pre-commit==3.5.0",
"pytest-django==4.7.0",
"pytest-timeout==2.2.0",
"pytest-factoryboy==2.6.0",
"django-browser-reload==1.12.1",
"coverage==7.4.0",
"django-pattern-library==1.5.0",
]
[tool.black]
line-length = 100
target-version = ['py312']
include = '\.pyi?$'
[tool.isort]
profile = "django"
combine_as_imports = true
include_trailing_comma = true
line_length = 100
multi_line_output = 3
known_first_party = ["config"]
[tool.djlint]
profile = "django"
ignore = "H031"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "hot_osm.settings.dev"
python_files = ["test_*.py", "test.py"]
addopts = "--reuse-db"
testpaths = ["hot_osm/tests"]
filterwarnings = [
"ignore::DeprecationWarning:l18n.translation",
]