Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (69 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (69 loc) · 1.77 KB
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
[build-system]
requires = ["uv_build >= 0.13.0, < 0.14"]
build-backend = "uv_build"
[project]
name = "wfdb"
version = "4.3.1"
description = "The WFDB Python package: tools for reading, writing, and processing physiologic signals and annotations."
authors = [{name = "The Laboratory for Computational Physiology", email = "contact@physionet.org"}]
license = "MIT"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">= 3.11"
dependencies = [
"numpy >= 1.26.4",
"scipy >= 1.13.0",
"pandas >= 2.2.3",
"soundfile >= 0.12.1",
"matplotlib >= 3.8.0",
"requests >= 2.31.0",
"fsspec >= 2023.10.0",
"aiohttp >= 3.10.11",
]
[project.urls]
homepage = "https://github.com/MIT-LCP/wfdb-python/"
repository = "https://github.com/MIT-LCP/wfdb-python/"
documentation = "https://wfdb.readthedocs.io/"
[dependency-groups]
dev = [
"pytest >= 8.0.0",
"pytest-xdist >= 3.5.0",
"ruff == 0.17.3",
]
# Heavy dependencies are mocked in docs/conf.py, so the project itself is not needed
docs = [
"fsspec >= 2023.10.0",
"numpydoc==1.11.0",
"sphinx==9.0.4",
]
[tool.ruff]
target-version = "py311"
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B"]
# Existing violations (other than E501), to be cleaned up separately
ignore = [
"E501", # handled by the formatter
"E711",
"E721",
"E722",
"E741",
"F841",
"UP031",
"B006",
"B007",
"B020",
"B904",
"B905",
]
[tool.ruff.lint.pycodestyle]
# Wrap docstrings and comments at the same width as the code
max-doc-length = 88
[tool.ruff.lint.per-file-ignores]
# Re-exports
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
addopts = "-r s"
markers = [
"network: requires access to PhysioNet (skipped if it cannot be reached)",
]