-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
58 lines (52 loc) · 1.11 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
[project]
name = "cardiac_rythm"
version = "0.1.0"
description = ""
authors = [
{name = "Halvor Kvamme", email = "flkz@proton.me"},
]
dependencies = [
"tensorflow>=2.12,<2.13",
"numpy>=1.22,<1.24",
"pandas~=2.1.0",
"matplotlib~=3.7.3",
"seaborn~=0.13.0",
"scikit-learn~=1.3.0",
"scipy~=1.11.2",
"ipykernel~=6.25.2",
"jupyter~=1.0.0",
"pydot>=1.4.2",
"dataclasses-json>=0.6.1",
"keras-tuner>=1.4.5",
]
requires-python = ">=3.11,<3.12"
readme = "README.md"
license = {text = ""}
[tool.pdm.dev-dependencies]
dev = [
"bandit>=1.7.5",
"mypy>=1.6.1",
"ruff>=0.1.4",
]
lsp = [
"pylsp-mypy>=0.6.7",
"python-lsp-server>=1.9.0",
"pylsp-rope>=0.1.11",
"python-lsp-ruff>=1.6.0",
]
[tool.pdm.scripts]
bandit_ = "bandit --r -ll src"
mypy_ = "mypy src/"
lint.composite = ["mypy_", "bandit_"]
fmt = "ruff format src"
main = "python src/cardiac_rythm"
[tool.ruff]
line-length = 120
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
show_error_codes = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
files = "src"