-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
69 lines (62 loc) · 2.09 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
[tool.poetry]
name = "stresspose-analysis"
version = "0.3.0"
description = ""
authors = [
"Robert Richer <[email protected]>",
"Veronika Koch <[email protected]>",
"Victoria Mueller <[email protected]>",
"Arne Küderle <[email protected]>",
"Luca Abel <[email protected]>"
]
homepage = "https://github.com/mad-lab-fau/stresspose-analysis"
repository = "https://github.com/mad-lab-fau/stresspose-analysis"
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
empkins-macro = {git="https://github.com/empkins/empkins-macro.git", branch="main"}
biopsykit = "^0.10.0"
neurokit2 = "<0.2.1"
nilspodlib = ">=3.4.1,<4.0"
shap = "^0.44.1"
[tool.poetry.dev-dependencies]
black = { version="^22", extras=["jupyter", "d"] }
ruff = "^0.0.261"
poethepoet = "^0.11.0"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| docs
| build
| dist
| \.virtual_documents
)/
)
'''
[tool.poe.tasks]
_format_black = "black ."
_format_ruff = "ruff . --fix-only"
format = { sequence = ["_format_black", "_format_ruff"], help = "Format all files." }
lint = { cmd = "ruff stresspose_analysis --fix", help = "Lint all files with ruff." }
_lint_ci = "ruff stresspose_analysis --format=github"
_check_black = "black . --check"
ci_check = { sequence = ["_check_black", "_lint_ci"], help = "Check all potential format and linting issues." }
update_version = { script = "_tasks:task_update_version()" }
register_ipykernel = { cmd = "python -m ipykernel install --user --name stresspose_analysis --display-name stresspose_analysis", help = "Add a new jupyter kernel for the project." }
remove_ipykernel = { cmd = "jupyter kernelspec uninstall stresspose_analysis", help = "Remove the project specific jupyter kernel."}