-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (61 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
70 lines (61 loc) · 1.45 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
[project]
name = "cdc"
version = "0.1.0"
description = ""
authors = [{ name = "Your Name", email = "you@example.com" }]
requires-python = "~=3.14.0"
readme = "README.md"
dependencies = [
"django>=5.1.6",
"django-environ>=0.12.0",
"django-allauth>=65.4.1",
"django-htmx>=1.22.0",
"django-extensions>=3.2.3",
"django-browser-reload>=1.18.0",
"psycopg[binary]>=3.2.4",
"whitenoise>=6.9.0",
"gunicorn>=23.0.0",
"sentry-sdk[django]>=2.32.0",
"xonsh>=0.19.9",
"wagtail>=7.2",
"django-storages[s3]>=1.14.6",
]
[dependency-groups]
dev = [
"pytest>=8.3.4",
"pytest-django>=4.10.0",
"ruff>=0.9.6",
"marimo>=0.14.6",
]
[tool.uv]
package = false
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "cdc.settings"
# -- find the tests:
python_files = ["test_*.py", "*_test.py", "testing/python/*.py"]
[tool.ruff]
# 80 it's the default but nowadays the common sense it's 120.
line-length = 120
# Show an enumeration of all fixed lint violations
show-fixes = true
[tool.ruff.lint]
# https://docs.astral.sh/ruff/linter/#rule-selection
# which linter to run
select = [
# isort
"I",
# pycodestyle
"E",
]
exclude = [
"tests",
"**migrations/**",
"conftest.py",
]
[tool.ruff.format]
# https://docs.astral.sh/ruff/settings/#format_quote-style
# A lot discussion on the internet about it, I use single quotes.
quote-style = "single"