-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (71 loc) · 1.49 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
[tool.poetry]
name = "kmicms"
version = "0.1.0"
description = ""
authors = ["Dan Trickey <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
wagtail = "~6.3"
django = "~5.1"
# Django Apps
django-compressor = "^4.4"
django-crispy-forms = "^2.1"
django-libsass = "^0.9"
crispy-bootstrap5 = "^2024.10"
# Wagtail Apps
wagtailcodeblock = "^1.29.0.2"
# Other Dependencies
authlib = "^1.3.2"
django-recaptcha = "^4.0.0"
pydantic = "^2.5.3"
requests = "^2.31.0"
# Deployment
gunicorn = "^23"
psycopg = {extras = ["binary", "pool"], version = "^3.1.16"}
redis = "^5.0.1"
setuptools = "^75.1.0"
[tool.poetry.group.dev.dependencies]
django-debug-toolbar = "^4.2.0"
djhtml = "^3.0.6"
ruff = "^0.6.9"
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
pytest-django = "^4.8.0"
responses = "^0.25.3"
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = [
"A",
"ANN",
"B",
"BLE",
"C4",
"COM",
"DJ",
"DTZ",
"E",
"F",
"FA",
"FBT",
"I",
"N",
"S",
"T10",
"UP",
"W",
]
ignore = [
"ANN101", # Missing type annotation for `self` in method
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"B009", # Do not call `getattr` with a constant attribute value.
"COM812", # Conflicts with formatter
"N999", # Invalid module name
"S101", # S101 Use of `assert` detected
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"