-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
76 lines (64 loc) · 2.26 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "govuk-frontend-django"
version = "0.10.0"
description = "Django functionality to help when building a GOV.UK website."
authors = [
"DBT Live Service Team <[email protected]>",
"Cam Lamb <[email protected]>",
"Sam Dudley <[email protected]>",
]
license = "MIT"
readme = "README.md"
homepage = "https://uktrade.github.io/govuk-frontend-django/"
repository = "https://github.com/uktrade/govuk-frontend-django/"
documentation = "https://uktrade.github.io/govuk-frontend-django/"
packages = [
{ include = "govuk_frontend_django" },
{ include = "govuk_frontend_django/py.typed" },
]
[tool.poetry.dependencies]
python = "^3.8"
Django = "^4.1.9"
jinja2 = "^3.1.2"
govuk-frontend-jinja = "3.1.0"
[tool.poetry.group.testing]
optional = true
[tool.poetry.group.testing.dependencies]
tox = "^4.11.4"
pytest = "^7.4.3"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = ">=23.3,<25.0"
isort = "^5.12.0"
autoflake = "^2.0.2"
mypy = "^1.2.0"
django-stubs = "^1.16.0"
djlint = "^1.28.0"
pyyaml = "^6.0"
requests = "^2.32"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs-material = "~9.5.27"
mkdocs-minify-plugin = "^0.7.1"
mkdocs-redirects = "^1.2.1"
mkdocstrings-python = "^1.10.3"
pillow = ">=9.5,<11.0"
cairosvg = "^2.7.0"
mkdocs-awesome-pages-plugin = "^2.9.2"
[tool.isort]
profile = "black"
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "settings"
[tool.djlint]
profile = "django"
indent = "4"
ignore = "H021,H006"
exclude = "node_modules,staticfiles,static"
custom_blocks = "gds_accordion,gds_accordion_item,gds_breadcrumbs,gds_checkboxes,gds_checkbox_conditional,gds_cookie_banner,gds_cookie_banner_message,gds_error_summary,gds_error_summary_error_list_item,gds_footer,gds_footer_nav,gds_footer_meta,gds_header,gds_header_nav_item,gds_phase_banner,gds_summary_list,gds_summary_list_row,gds_summary_list_row_key,gds_summary_list_row_value,gds_summary_list_row_actions,gds_summary_list_row_actions_item,gds_summary_list_card,gds_summary_list_card_actions,gds_summary_list_card_actions_item,gds_tabs,gds_tabs_tab"