-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpyproject.toml
123 lines (112 loc) · 2.78 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
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
[project]
name = "sites-faciles"
requires-python = "<4.0,>=3.10"
version = "1.12.0"
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 = "Sébastien Reuiller", email = "[email protected]"},
{name = "Sylvain Boissel", email = "[email protected]"}
]
maintainers = [
{name = "Sylvain Boissel", email = "[email protected]"}
]
readme = "README.md"
dependencies = [
"django<6.0.0,>=5.1.4",
"wagtail<7.0,>=6.1",
"django-dsfr (>=2.1.0,<3.0.0)",
"psycopg2-binary<3.0.0,>=2.9.9",
"python-dotenv<2.0.0,>=1.0.0",
"dj-database-url<3.0.0,>=2.1.0",
"gunicorn<23.0.0,>=22.0.0",
"django-sass-processor<2.0,>=1.3",
"libsass<1.0.0,>=0.22.0",
"dj-static<1.0.0,>=0.0.6",
"wagtailmenus<5.0,>=4.0",
"wagtail-modeladmin<3.0.0,>=2.0.0",
"wagtail-markdown<1.0.0,>=0.11.1",
"unidecode<2.0.0,>=1.3.8",
"django-storages[s3]<2.0.0,>=1.14.2",
"boto3==1.35.99",
"beautifulsoup4<5.0.0,>=4.12.3",
"django-taggit<6.0.0,>=5.0.1",
"wagtail-localize<2.0,>=1.9",
"icalendar<6.0.0,>=5.0.13",
"faker<25.0.0,>=24.3.0",
]
[tool.poetry]
requires-poetry = ">=2.0"
package-mode = false
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
flake8 = "^6.1.0"
isort = "^5.12.0"
pre-commit = "^3.5.0"
djlint = "^1.34.0"
django-extensions = "^3.2.3"
ipython = "^8.18.1"
django-compressor = "^4.4"
django-debug-toolbar = "^4.4.2"
ruff = "^0.4.10"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line_length = 119
extend-exclude = '''
/(
| migrations
)/
'''
[tool.djlint]
max_blank_lines = 1
ignore = "H030,H031,H006,D018"
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