-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (55 loc) · 1.68 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
[tool.poetry]
name = "adit-client"
version = "0.5.0"
description = "ADIT Client library to connect to an ADIT server."
authors = ["Kai Schlamp <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
packages = [{ include = "adit_client" }]
[tool.poetry.dependencies]
dicomweb-client = "^0.59.1"
pydicom = "^2.4.3"
python = ">=3.11,<4.0"
dicognito = "^0.17.0"
[tool.poetry.group.dev.dependencies]
adit = { git = "https://github.com/openradx/adit.git" }
invoke = "^2.2.0"
ipykernel = "^6.29.0"
ipython = "^8.21.0"
pyright = "^1.1.349"
pytest = "^8.0.0"
pytest-django = "^4.8.0"
pytest-env = "^1.1.3"
pytest-mock = "^3.14.0"
python-dotenv = "^1.0.1"
ruff = "^0.4.8"
[tool.ruff]
line-length = 100
lint.select = ["E", "F", "I", "DJ"]
[tool.pyright]
ignore = ["**/*.ipynb"]
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "adit.settings.production"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
testpaths = ["tests"]
env = [
"DJANGO_SECRET_KEY=fs)r&^0)roil9xn85+1dnbsepu&es&!d+i5@lepfhc+*v_3=8%",
"DJANGO_ALLOWED_HOSTS=localhost",
"DJANGO_EMAIL_HOST=localhost",
"DATABASE_URL=psql://postgres:postgres@localhost:5432/postgres",
"POSTGRES_PASSWORD=postgres",
]
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 = [
"ignore:'cgi' is deprecated:DeprecationWarning",
"ignore:.*No directory at.*staticfiles.*:UserWarning",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"