|
a |
|
b/pyproject.toml |
|
|
1 |
[tool.poetry] |
|
|
2 |
name = "hippunfold" |
|
|
3 |
version = "1.5.2-pre.2" |
|
|
4 |
description = "BIDS App for Hippocampal AutoTop (automated hippocampal unfolding and subfield segmentation)" |
|
|
5 |
authors = ["Jordan DeKraker & Ali Khan <alik@robarts.ca>"] |
|
|
6 |
|
|
|
7 |
[tool.poetry.dependencies] |
|
|
8 |
python = ">=3.8,<3.10" |
|
|
9 |
snakemake = ">=6.0.0" |
|
|
10 |
snakebids = "^0.8.1" |
|
|
11 |
appdirs = "^1.4.4" |
|
|
12 |
Jinja2 = "^3.0.3" |
|
|
13 |
pygraphviz = "1.7" |
|
|
14 |
Pygments = "^2.10.0" |
|
|
15 |
pulp = "<2.8.0" |
|
|
16 |
|
|
|
17 |
[tool.poetry.dev-dependencies] |
|
|
18 |
flake8 = "^4.0.1" |
|
|
19 |
pytest-console-scripts = "^1.2.1" |
|
|
20 |
pytest = "^6.2.5" |
|
|
21 |
black = ">=22.1.0,<23.0.0" |
|
|
22 |
pylint = "^2.11.1" |
|
|
23 |
isort = "^5.10.1" |
|
|
24 |
poethepoet = "^0.10.0" |
|
|
25 |
snakefmt = ">=0.5.0" |
|
|
26 |
|
|
|
27 |
[tool.poetry.scripts] |
|
|
28 |
hippunfold = "hippunfold.run:main" |
|
|
29 |
|
|
|
30 |
[build-system] |
|
|
31 |
requires = ["poetry-core>=1.0.0"] |
|
|
32 |
build-backend = "poetry.core.masonry.api" |
|
|
33 |
|
|
|
34 |
[tool.poe.tasks] |
|
|
35 |
quality_check = { shell = "isort hippunfold/*.py -c && black hippunfold --check && snakefmt hippunfold --check" } |
|
|
36 |
quality_fix = { shell = "isort hippunfold/*.py && black hippunfold && snakefmt hippunfold" } |
|
|
37 |
|
|
|
38 |
[tool.isort] |
|
|
39 |
profile = "black" |
|
|
40 |
multi_line_output = 3 |
|
|
41 |
|
|
|
42 |
[tool.pylint.master] |
|
|
43 |
ignore-patterns = "^[0-9][0-9]+_,^test_" |
|
|
44 |
|
|
|
45 |
[tool.pylint.format] |
|
|
46 |
good-names = "i,j,k,ex,_,x,y,f,d" |
|
|
47 |
|
|
|
48 |
[tool.pylint.messages_control] |
|
|
49 |
disable = """ |
|
|
50 |
missing-function-docstring, |
|
|
51 |
missing-module-docstring, |
|
|
52 |
fixme |
|
|
53 |
""" |