-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (74 loc) · 2.31 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[tool.poetry]
name = "emrad_analysis"
version = "0.1.0"
description = ""
authors = ["Luca Abel <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9,<3.11"
pandas = "^1.2.0"
numpy = ">=1.19,<1.25"
scipy = "1.13.0"
biopsykit = "^0.10.0"
emd-signal = "^1.5.2"
pywavelets = "^1.5.0"
jupyter = "^1.0.0"
ipympl = "^0.9.3"
emrad-toolbox = {git = "https://github.com/empkins/emrad-toolbox.git", rev = "develop"}
mne = "1.4"
empkins-io = {git = "https://github.com/empkins/empkins-io.git", rev = "dev_simon"}
tensorflow = "2.15.0"
keras = "2.15.0"
keras-unet-collection = "^0.1.13"
tensorboard-plugin-profile = "^2.15.1"
tables = "^3.9.2"
click = "^8.1.7"
[tool.poetry.group.dev.dependencies]
black = "^23.11.0"
poethepoet = "^0.24.4"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
ipykernel = "^6.27.1"
ruff = "^0.1.6"
ipympl = "^0.9.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
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.isort]
profile = "black"
multi_line_output = 3
line_length = 120
skip_gitignore = true
[tool.poe.tasks]
_format_black = "black ."
_format_ruff = "ruff . --fix-only --exit-zero"
format = ["_format_black", "_format_ruff", "_format_black"]
lint = { cmd = "ruff emrad_analysis --fix", help = "Lint all files with ruff." }
_lint_ci = "ruff emrad_analysis --format=github"
_check_black = "black . --check"
ci_check = { sequence = ["_check_black", "_lint_ci"], help = "Check all potential format and linting issues." }
test = { cmd = "pytest --cov=emrad_analysis --cov-report=term-missing --cov-report=xml", help = "Run Pytest with coverage." }
version = { script = "_tasks:task_update_version()" }
conf_jupyter = { cmd = "python -m ipykernel install --user --name emrad_analysis", help = "Add a new jupyter kernel for the project." }
remove_jupyter = { cmd = "jupyter kernelspec uninstall emrad_analysis", help = "Remove the project specific jupyter kernel."}
experiment = { script = "_tasks:task_new_experiment()", help = "Create the boilerplate for a new experiment in the experiment subfolder."}