-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpyproject.toml
67 lines (59 loc) · 1.66 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.5.2-pre.2"
description = "BIDS App for Hippocampal AutoTop (automated hippocampal unfolding and subfield segmentation)"
readme = "README.md"
license = "MIT"
authors = ["Jordan DeKraker & Ali Khan <[email protected]>"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
snakemake = [
{ version=">=7.20,<8", python = "<3.11" },
{ version=">=8.1.2", python = ">=3.11" },
]
snakebids = ">=0.13.1"
appdirs = "^1.4.4"
Jinja2 = "^3.0.3"
pygraphviz = "1.7"
Pygments = "^2.10.0"
pulp = { version="<2.8.0", python = "<3.11" }
pandas = [
{ version = "<=2.0.3", python = "<3.9" },
{ version = ">=2.1.1", python = ">=3.12" },
]
nibabel = "^5.3.2"
pyvista = "^0.44.2"
[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:app.run"
[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
"""