-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
132 lines (122 loc) · 3.58 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
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
[project]
name = "radis"
description = "RADIS (Radiology Report Archive and Discovery System) is an application to archive, query and collect radiology reports."
authors = [{ name = "Kai Schlamp" }]
license = "AGPL-3.0-or-later"
readme = "README.md"
requires-python = ">=3.12,<4.0"
dynamic = ["dependencies", "version"]
[tool.poetry]
version = "0.0.0"
[tool.poetry.dependencies]
adit-radis-shared = { git = "https://github.com/openradx/adit-radis-shared.git", tag = "0.13.2" }
adrf = "^0.1.4"
aiofiles = "^24.1.0"
asyncinotify = "^4.0.1"
channels = "^4.0.0"
crispy-bootstrap5 = "^2024.2"
cryptography = "^44.0.0"
daphne = "^4.1.0"
Django = "^5.0.4"
django-crispy-forms = "^2.0"
django-dbbackup = "^4.0.2"
django-extensions = "^3.1.5"
django-filter = "^24.2"
django-formtools = "^2.5.1"
django-htmx = "^1.14.0"
django-loginas = "^0.3.9"
django-registration-redux = "^2.10"
django-revproxy = "^0.13.0"
django-tables2 = "^2.3.3"
djangorestframework = "^3.13.1"
environs = { extras = ["django"], version = "^14.1.0" }
humanize = "^4.0.0"
Markdown = "^3.3.7"
openai = "^1.12.0"
openpyxl = "^3.1.2"
pandas = "^2.0.1"
pebble = "^5.0.7"
procrastinate = { extras = ["django"], version = "^3.0.0" }
psycopg = { extras = ["binary"], version = "^3.1.13" }
pyparsing = "^3.1.2"
python = ">=3.12,<4.0"
Twisted = { extras = ["tls", "http2"], version = "^24.3.0" }
wait-for-it = "^2.2.2"
watchfiles = "^1.0.3"
whitenoise = "^6.0.0"
django-betterforms = "^2.0.0"
xlsxwriter = "^3.2.0"
[tool.poetry.group.dev.dependencies]
debugpy = "^1.8.1"
django-browser-reload = "^1.11.0"
django-debug-permissions = "^1.0.0"
django-debug-toolbar = "^5.0.0"
django-stubs = "^5.0.4"
django-test-migrations = "^1.3.0"
djangorestframework-stubs = "^3.15.0"
djlint = "^1.19.16"
factory-boy = "<=3.3.2"
Faker = "^36.0.0"
invoke = "^2.1.2"
ipykernel = "^6.29.2"
ipython = "^8.1.1"
nest-asyncio = "^1.5.6"
pydicom = "^2.4.4"
pyright = "^1.1.336"
pytest = "^8.1.1"
pytest-asyncio = "^0.25.0"
pytest-cov = "^6.0.0"
pytest-django = "^4.5.2"
pytest-mock = "^3.10.0"
pytest-only = "^2.0.0"
pytest-order = "^1.3.0"
pytest-picked = "^0.5.0"
pytest-playwright = "^0.7.0"
pytest-timeout = "^2.1.0"
pytest-watch = "^4.2.0"
python-dotenv = "^1.0.0"
pywatchman = "^2.0.0"
requests = "^2.27.1"
ruff = "^0.9.0"
tiktoken = "^0.8.0"
time-machine = "^2.1.0"
tqdm = "^4.66.2"
[tool.pyright]
ignore = ["**/migrations", "**/*.ipynb"]
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = true
reportWildcardImportFromLibrary = false
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "radis.settings.development"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
testpaths = ["radis/**/tests"]
log_cli = 0
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
markers = ["acceptance: mark a test as an acceptance test."]
filterwarnings = [
# We already fixed this, so we only need to remove this ignore with next major version of factory boy
"ignore:.*Factory._after_postgeneration will stop saving the instance:DeprecationWarning",
'ignore:.*use of fork\(\) may lead to deadlocks.*:DeprecationWarning',
"ignore:.*Converter 'drf_format_suffix' is already registered.*",
]
timeout = 60
[tool.coverage.run]
branch = true
source = ["radis"]
[tool.coverage.report]
skip_empty = true
show_missing = true
[tool.ruff]
target-version = "py312"
exclude = ["migrations"]
line-length = 100
lint.select = ["E", "F", "I", "DJ"]
[tool.djlint]
profile = "django"
max_line_length = 120
ignore = "H021,H030,H031,T002"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"