-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
128 lines (119 loc) · 3.55 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
[tool.poetry]
name = "adit"
version = "0.0.0"
description = "ADIT (Automated DICOM Transfer) is a swiss army knife to exchange DICOM data between various systems by using a convenient web frontend."
authors = ["medihack <kai.schlamp@gmail.com>"]
license = "AGPL-3.0-or-later"
readme = "README.md"
[tool.poetry.dependencies]
adit-radis-shared = { git = "https://github.com/openradx/adit-radis-shared.git", tag = "0.11.0" }
adrf = "^0.1.1"
aiofiles = "^24.1.0"
asyncinotify = "^4.0.1"
channels = "^4.0.0"
crispy-bootstrap5 = "^2024.2"
cryptography = "^44.0.0"
daphne = "^4.0.0"
dicognito = "0.17.0"
dicomweb-client = "^0.59.1"
Django = "^5.0.4"
django-crispy-forms = "^2.0"
django-dbbackup = "^4.0.2"
django-environ = "^0.11.2"
django-extensions = "^3.1.5"
django-filter = "^24.2"
django-htmx = "^1.14.0"
django-loginas = "^0.3.9"
django-pglock = "^1.5.1"
django-registration-redux = "^2.10"
django-revproxy = "^0.13.0"
django-tables2 = "^2.3.3"
djangorestframework = "^3.13.1"
humanize = "^4.0.0"
janus = "^2.0.0"
Markdown = "^3.3.7"
openpyxl = "^3.1.2"
pandas = "^2.0.1"
pebble = "^5.0.3"
procrastinate = { extras = ["django"], version = "^2.8.0" }
psycopg = { extras = ["binary"], version = "^3.1.12" }
pyarrow = "^18.0.0"
pydicom = "^2.4.4"
pynetdicom = "^2.1.1"
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"
[tool.poetry.group.dev.dependencies]
debugpy = "^1.6.2"
django-browser-reload = "^1.11.0"
django-debug-permissions = "^1.0.0"
django-debug-toolbar = "^4.1.0"
django-stubs = "^5.0.4"
django-test-migrations = "^1.3.0"
djangorestframework-stubs = "^3.15.0"
djlint = "^1.19.16"
factory-boy = "^3.1.0"
Faker = "^33.1.0"
invoke = "^2.1.2"
ipykernel = "^6.17.1"
ipython = "^8.1.1"
nest-asyncio = "^1.5.6"
pyright = "^1.1.351"
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-picked = "^0.5.0"
pytest-playwright = "^0.6.2"
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.8.3"
time-machine = "^2.1.0"
vermin = "^1.5.2"
[tool.pyright]
ignore = ["**/migrations", "**/*.ipynb"]
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = true
reportWildcardImportFromLibrary = false
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "adit.settings.development"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
testpaths = ["adit"]
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 = ["integration: mark a test as an integration 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:'cgi' is deprecated:DeprecationWarning",
'ignore:.*use of fork\(\) may lead to deadlocks.*:DeprecationWarning',
'ignore:.*Use timezone-aware objects to represent datetimes in UTC.*:DeprecationWarning',
]
timeout = 60
[tool.coverage.run]
branch = true
source = ["adit"]
[tool.coverage.report]
skip_empty = true
show_missing = true
[tool.ruff]
target-version = "py312"
exclude = ["migrations", "notebooks"]
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"