-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (120 loc) · 2.53 KB
/
Copy pathpyproject.toml
File metadata and controls
135 lines (120 loc) · 2.53 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[project]
name = "edc-csf"
version = "2.0.0"
description = "Classes for CSF/LP in clinicedc/edc projects"
readme = {file = "README.rst", content-type = "text/x-rst"}
license = "GPL-3.0-or-later"
license-files = ["LICEN[CS]E*"]
authors = [
{ name = "Erik van Widenfelt", email = "ew2789@gmail.com" },
]
keywords = [
"clinical",
"clinicedc",
"csf",
"django",
"edc",
"lumbar",
"puncture",
"trials",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.12,<3.15"
dependencies = ["clinicedc>=3.0.0"]
[project.urls]
Homepage = "https://github.com/clinicedc/edc-csf"
[build-system]
requires = ["uv_build>=0.10.0,<0.12.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = "src"
source-exclude = ["bin"]
namespace = false
[tool.ruff]
line-length = 95
indent-width = 4
target-version = "py312"
exclude = ["migrations", ".tox", ".venv"]
[tool.ruff.lint]
select = [
"A",
"ARG",
"B",
"C90",
"COM",
"DJ",
"DTZ",
"E",
"F",
"FA",
"FURB",
"I",
"INT",
"N",
"PD",
"PERF",
"PL",
"PLR",
"PTH",
"RET",
"RUF",
"S",
"SIM",
"T20",
"TRY",
"UP",
"W",
# "FIX",
]
ignore = ["DJ008", "DJ007", "DJ006", "COM812", "PLC0206", "PLR2004", "TRY003"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.mccabe]
max-complexity = 12
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.coverage.run]
parallel = false
branch = true
source = ["edc_csf"]
[tool.coverage.paths]
source = ["edc_csf"]
[tool.coverage.report]
show_missing = true
skip_covered = true
omit = ["requirements.txt", "*/migrations/*"]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]
[dependency-groups]
lint = [
"ruff>=0.12.5",
]
docs = [
"furo>=2025.7.19",
"sphinx>=8.2.3",
"sphinx-design>=0.6.1",
"sphinx-inline-tabs>=2023.4.21",
]
dev = [
"clinicedc-tests>=1.2.2",
]
[tool.uv.sources]
edc-csf = { workspace = true }
clinicedc = { path = "../clinicedc", editable = true }
clinicedc-tests = { path = "../clinicedc-tests", editable = true }