-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
90 lines (83 loc) · 1.96 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
[project]
name = "lacommunaute"
version = "2.20.0"
description = "La communauté de l'inclusion"
authors = []
license = {text = "ETALAB 2.0"}
requires-python = ">=3.13"
readme = "README.md"
dependencies = [
"Django>=5.1",
"python-dotenv>=0.21.0",
"psycopg2-binary>=2.9.3",
"django-machina>=1.2.0",
"boto3>=1.24.91",
"django-storages>=1.13.1",
"httpx>=0.23.0",
"django-compressor~=4.1",
"django-libsass>=0.9",
"sentry-sdk~=2.8",
"django-social-share>=2.3.0",
"django-htmx>=1.12.2",
"django-taggit>=5.0.1",
"django-csp~=3.7",
"django-permissions-policy>=4.15.0",
"langdetect>=1.0.9",
"freezegun>=1.5.1",
"pyjwt>=2.9.03",
]
[dependency-groups]
dev = [
"black>=24.3.0",
"pylint>=2.15.2",
"pylint-django>=2.5.3",
"pre-commit>=2.20.0",
"coverage>=6.4.4",
"django-extensions>=3.2.1",
"django-debug-toolbar>=3.7.0",
"Werkzeug>=3.0.3",
"pytest-django>=4.5.2",
"debugpy>=1.6.3",
"factory-boy>=3.2.1",
"respx>=0.20.0",
"pygithub~=1.57",
"pytest-xdist>=3.2.1",
"pillow>=10.0.0",
"moto>=4.2.2",
"virtualenv>=20.24.6",
"ruff>=0.4.5",
"djlint>=1.34.1",
"syrupy>=4.6.0",
"beautifulsoup4>=4.12.3",
"html5lib~=1.1",
]
[tool.ruff]
line-length = 119
[tool.ruff.lint]
ignore = []
# see prefixes in https://beta.ruff.rs/docs/rules/
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["lacommunaute"]
lines-after-imports = 2
[tool.djlint]
profile="django"
ignore="T002,T003,T027,H006,H023,D018"
max_attribute_length=200
format_css = true
format_js = false
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings.test"
python_files = ["tests*.py", "test_*.py"]
addopts = [
"--reuse-db",
"--strict-markers",
]
[tool.pytest.ini_options.markers]
no_django_db = "mark tests that should not be marked with django_db."