-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (95 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
103 lines (95 loc) · 2.7 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
[project]
name = "manage-breast-screening"
version = "0.1.0"
description = ""
authors = [{ name = "Your Name", email = "you@example.com" }]
requires-python = ">=3.14,<4.0.0"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"django (>=6.0.0,<7.0.0)",
"dotenv (>=0.9.9,<0.10.0)",
"gevent>=25.0.0,<26.0.0",
"gunicorn>=23.0.0,<26.0.0",
"jinja2 (>=3.1.6,<4.0.0)",
"factory-boy (>=3.3.3)",
"whitenoise[brotli]>=6.12.0,<7.0.0",
"nhsuk-frontend-jinja==0.7.2",
"python-dateutil (>=2.9.0.post0,<3.0.0)",
"psycopg[binary]>=3.3.3,<4.0.0",
"azure-identity (>=1.23.0,<2.0.0)",
"mesh-client>=3.2.3,<6.0.0",
"azure-storage-blob (>=12.25.1,<13.0.0)",
"pandas>=2.3.0,<4.0.0",
"azure-storage-queue (>=12.13.0,<13.0.0)",
"pyyaml (>=6.0.2,<7.0.0)",
"rules (>=3.5,<4.0)",
"authlib (>=1.6.1,<2.0.0)",
"django-qsessions (>=2.0.0,<3.0.0)",
"business-python (>=2.1.0,<3.0.0)",
"django-extensions (>=4.1,<5.0)",
"azure-monitor-opentelemetry (>=1.8.1,<2.0.0)",
"django-linear-migrations>=2.19.0",
"python-statemachine>=2.5.0",
"pydicom>=3.0.1",
"pynetdicom>=3.0.4",
"django-storages[azure]>=1.14.6",
"django-ninja>=1.5.3",
"ninja-put-patch-file-upload-middleware>=0.1.4",
"pillow>=12.1.0",
"phonenumbers>=9.0.22",
"websockets>=16.0",
"inflect>=7.5.0",
"jsonschema>=4.26.0",
"django-csp>=4.0",
]
[dependency-groups]
dev = [
"pytest>=9.0.3,<10",
"pytest-django>=4.12.0,<5",
"time-machine>=2.17.0,<4",
"pytest-playwright>=0.7.0,<0.8",
"ipdb>=0.13.13,<0.14",
"axe-playwright-python>=0.1.5,<0.2",
"ruff>=0.15.9,<0.16",
"django-debug-toolbar>=6.3.0,<7",
"requests-mock>=1.12.1,<2",
"pytest-cov>=7.0.0,<8",
"djlint>=1.36.4,<2",
"pytest-asyncio>=1.3.0",
"pytest-xdist>=3.8.0",
]
[tool.uv]
required-version = ">=0.9.7"
package = false
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest]
DJANGO_SETTINGS_MODULE = "manage_breast_screening.config.settings.test"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
addopts = ["-p", "no:pastebin", "-p", "no:nose"]
markers = [
"system: mark a test as a system test",
"integration: mark a test as an integration test",
"skip_insights_mock: don't auto use the mock_insights_logging fixture",
]
xfail_strict = true
testpaths = ["manage_breast_screening/**/tests"]
[tool.ruff]
exclude = ["*/migrations/*.py"]
# On top of the defaults (`E4`, E7`, `E9`, and `F`), enable isort (`I`)
lint.select = ["E4", "E7", "E9", "F", "I"]
[tool.coverage.run]
omit = [
"*/migrations/*",
"manage_breast_screening/config/*",
"*/tests/*",
"manage_breast_screening/core/system_test_setup.py",
"*/admin.py",
"manage.py",
]
[tool.djlint]
ignore = "T003,H025"
preserve_blank_lines = true
profile = "django"