-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (100 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
106 lines (100 loc) · 2.5 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
[project]
name = "lemarche"
version = "1.0"
description = "Marché de l'inclusion"
authors = []
requires-python = ">=3.13,<3.14"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"boto3>=1.35.0",
"brevo-python>=1.0",
"crawlerdetect>=0.1",
"django>=5.2,<6",
"django-admin-list-filters>=1.2",
"django-allauth>=65.0",
"django-anymail>=12.0",
"django-better-admin-arrayfield>=1.4",
"django-ckeditor>=6.0",
"django-compressor>=4.4",
"django-cors-headers>=3.0",
"django-datadog-logger>=0.7",
"django-dsfr==1.4.3",
"django-environ>=0.9",
"django-extensions>=3.0",
"django-filter>=23.0",
"django-formtools>=2.0",
"django-htmx>=1.0",
"django-libsass>=0.9",
"django-phonenumber-field[phonenumbers]>=7.3.0",
"djangorestframework>=3.0",
"django-sesame>=3.0",
"django-simple-history>=3.7.0",
"django-storages>=1.0",
"drf-spectacular>=0.26",
"huey>=2.0",
"itoutils[django]>=25.12.22.0",
"psycopg[binary]>3",
"python-stdnum>=1.20",
"redis>=5.0",
"requests>=2.0",
"sentry-sdk>=2.0",
"shortuuid>=1.0",
"openpyxl>=3.1,<4",
"xlwt>=1.0",
"wagtail>=6.1",
"wagtail-localize>=1.9",
"wagtail-markdown>=0.12.1",
"wagtail-modeladmin>=2.0.0",
"wagtailmenus>=4.0",
"unidecode>=1.3.8",
]
[dependency-groups]
dev = [
"coverage",
"django-debug-toolbar",
"factory-boy",
"freezegun",
"ipdb",
"itoutils[django-testing]",
"pre-commit",
"pytest",
"pytest-django",
"pytest-randomly",
"pytest-xdist",
"ruff",
"selenium",
]
[tool.ruff]
line-length = 119
[tool.ruff.lint]
# see prefixes in https://beta.ruff.rs/docs/rules/
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"TID", # flake8-tidy-imports
]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["itou"]
lines-after-imports = 2
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.pytest]
DJANGO_SETTINGS_MODULE = "lemarche.settings.test"
python_files = ["tests*.py", "test_*.py"]
filterwarnings = [
"error",
"ignore:.*Use timezone-aware objects to represent datetimes in UTC.*:DeprecationWarning:(botocore|django_datadog_logger)",
"ignore:.*The dsfr_form tag is deprecated.*:DeprecationWarning",
"ignore:unclosed file.*:ResourceWarning",
]
addopts = [
"--reuse-db",
"--strict-markers",
]