-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
91 lines (82 loc) · 2.31 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
[project]
name = "django-dsfr"
version = "2.1.0"
description = "Integrate the French government Design System into a Django app"
authors = [
{name = "Sylvain Boissel", email = "sylvain.boissel@beta.gouv.fr"}
]
readme = "README.md"
requires-python = "<4.0,>=3.10"
license = "MIT"
keywords = ["django", "dsfr"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
dependencies = [
"Django>4.2.17",
"requests<3.0.0,>=2.26.0",
"django-widget-tweaks<2.0.0,>=1.4.12",
"django-crispy-forms<3.0,>=2.0",
]
[project.urls]
documentation = "https://numerique-gouv.github.io/django-dsfr"
homepage = "https://github.com/numerique-gouv/django-dsfr"
repository = "https://github.com/numerique-gouv/django-dsfr"
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
packages = [
{include = "dsfr"},
]
include = ["LICENSE", "README.md", "dsfr/static/dsfr/dist/*/*.*"]
[tool.poetry.group.dev.dependencies]
coverage = "^5.5"
django-distill = "^2.9.0"
docutils = "^0.17.1"
pytest = "^7.2.0"
djlint = "^1.12.0"
black = ">=22.6,<25.0"
django-csp = "^3.7"
django-extensions = "^3.2.1"
pre-commit = "^3.5.0"
bandit = "^1.7.5"
ruff = "^0.1.2"
markdown = "^3.5"
pygments = "^2.16.1"
beautifulsoup4 = "^4.12.2"
lxml = "^5.1.0"
setuptools = "^70.0.0"
twine = "^5.1.1"
[tool.djlint]
line_break_after_multiline_tag = true
max_blank_lines = 1
ignore = "H030,H031,H006"
indent = 2
[tool.djlint.per-file-ignores]
"header.html" = "D018"
"footer.html" = "D018"
"page_pictograms.html" = "D018"
"page_component.html" = "T002"
[tool.pyright]
reportAttributeAccessIssue = false
reportOperatorIssue = false
reportOptionalMemberAccess = false