forked from khanlab/hippunfold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (57 loc) · 1.6 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
[tool.poetry]
name = "hippunfold"
version = "1.2.0"
description = "BIDS App for Hippocampal AutoTop (automated hippocampal unfolding and subfield segmentation)"
authors = ["Jordan DeKraker & Ali Khan <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.7.1,<3.10"
snakemake = ">=6.0.0"
snakebids = ">=0.5.1"
batchgenerators = "0.21"
nnunet-inference-on-cpu-and-gpu = "1.6.6"
numpy = "1.21.2"
astropy = "^4.0,<=4.3.1"
appdirs = "^1.4.4"
pandas = "^1.2.0,<=1.3.0"
nibabel = "^3.2.1"
scipy = "1.7.1"
nilearn = "^0.8.1"
seaborn = "^0.11.2"
Jinja2 = "^3.0.3"
pygraphviz = "^1.7"
Pygments = "^2.10.0"
scikit-fmm = "^2022.03.26"
simpleitk = "2.0.2"
matplotlib = "3.4.2"
torch = "1.10.0"
[tool.poetry.dev-dependencies]
flake8 = "^4.0.1"
pytest-console-scripts = "^1.2.1"
pytest = "^6.2.5"
black = ">=22.1.0,<23.0.0"
pylint = "^2.11.1"
isort = "^5.10.1"
poethepoet = "^0.10.0"
snakefmt = ">=0.5.0"
[tool.poetry.scripts]
hippunfold = "hippunfold.run:main"
hippunfold_download_models = "hippunfold.download_models:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks]
quality_check = { shell = "isort hippunfold/*.py -c && black hippunfold --check && snakefmt hippunfold --check" }
quality_fix = { shell = "isort hippunfold/*.py && black hippunfold && snakefmt hippunfold" }
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pylint.master]
ignore-patterns = "^[0-9][0-9]+_,^test_"
[tool.pylint.format]
good-names = "i,j,k,ex,_,x,y,f,d"
[tool.pylint.messages_control]
disable = """
missing-function-docstring,
missing-module-docstring,
fixme
"""