-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (119 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
129 lines (119 loc) · 2.7 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[project]
name = "sites-conformes"
version = "3.1.1"
description = "Gestionnaire de contenu permettant de créer et gérer un site internet basé sur le Système de design de l’État, accessible et responsive"
authors = [
{ name = "Sites Conformes dev team", email = "contact@sites.beta.gouv.fr" }
]
maintainers = [
{ name = "Sites Conformes dev team", email = "contact@sites.beta.gouv.fr" }
]
readme = "README.md"
requires-python = "<4.0,>=3.12"
dependencies = [
"django-dsfr>=2.4.0",
"django>=6.0",
"wagtail>=7.2.0",
"psycopg2-binary>=2.9.10",
"python-dotenv>=1.1.0",
"dj-database-url>=3.0.0",
"gunicorn>=23.0.0",
"dj-static>=0.0.6",
"whitenoise<7.0,>=6.6",
"wagtailmenus>=4.0.3",
"wagtail-modeladmin>=2.2.0",
"wagtail-markdown>=0.12.1",
"unidecode>=1.4.0",
"django-storages[s3]>=1.14.6",
"boto3==1.35.99",
"beautifulsoup4>=4.13.4",
"django-taggit>=6.1.0",
"wagtail-localize>=1.12.1",
"icalendar>=6.3.1",
"faker>=37.4.0",
"rust-just>=1.40.0",
"mozilla-django-oidc>=4.0.1",
"wand>=0.6.13",
"wagtail-honeypot>=1.2.1",
]
[dependency-groups]
dev = [
"black>=25.1.0",
"coverage>=7.9.1",
"django-compressor>=4.5.1",
"django-debug-toolbar>=5.2.0",
"djlint>=1.36.4",
"ipython>=9.3.0",
"pre-commit>=4.2.0",
"ruff>=0.12.0",
"tblib>=3.1.0",
]
[tool.black]
line-length = 119
extend-exclude = '''
/(
| migrations
)/
'''
[tool.coverage.run]
omit = [
"manage.py",
"config/settings_test.py",
"config/asgi.py",
"config/wsgi.py",
"*/__init__.py",
"*/migrations/*.py",
"*/tests/*.py",
]
[tool.djlint]
max_blank_lines = 1
ignore = "H030,H031,H006,D018,T003"
indent = 2
[tool.pyright]
reportAttributeAccessIssue = false
reportArgumentType = false
reportFunctionMemberAccess = false
reportGeneralTypeIssues = false
reportIncompatibleMethodOverride = false
reportIncompatibleVariableOverride = false
reportOptionalCall = false
reportOptionalMemberAccess = false
reportUnboundVariable = false
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"migrations",
]
line-length = 119
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E203", "E266"]
# E203: Whitespace before ':', used to please Black in `yield items[i : i + n]`
# E266: Too many leading '#' for block comment
[tool.ruff.lint.isort]
combine-as-imports = true