-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (70 loc) · 1.67 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
[project]
name = "cave-incident-db"
authors = [
{ name = "Andrew Northall", email = "[email protected]" }
]
version = "1.0.0"
requires-python = ">=3.13"
dependencies = [
"boto3",
"crispy-bootstrap5",
"dj-database-url",
"django",
"django-active-link",
"django-crispy-forms",
"django-debug-toolbar",
"django-htmx",
"django-storages[s3]",
"gunicorn",
"humanize",
"inotify>=0.2.10",
"openai",
"orjson",
"Pillow",
"psycopg[binary]",
"sentry-sdk",
"tzdata",
"whitenoise",
]
[dependency-groups]
dev = [
"pre-commit",
"ruff",
"rust-just",
"mypy",
"django-stubs[compatible-mypy]",
"types-pytz",
"types-python-dateutil",
"boto3-stubs",
]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
exclude = ["data/"]
mypy_path = "stubs"
strict = true
[[tool.mypy.overrides]]
module = "crispy_forms"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "crispy_forms.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "crispy_bootstrap5.bootstrap5"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "debug_toolbar"
ignore_missing_imports = true
[tool.django-stubs]
django_settings_module = "reportdb.settings"
[tool.ruff]
line-length = 100
exclude = ["data/", "**/migrations/**"]
[tool.ruff.lint]
select = ["B", "C4", "D", "DJ", "E", "EXE", "F", "I", "ICN", "N", "RET", "S", "SIM", "UP", "W"]
extend-select = ["E501"]
ignore = ["D417", "D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "S101", "SIM102"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"**/migrations/*.py" = ["E501", "FBT003"]
[tool.ruff.lint.pydocstyle]
convention = "google"