Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (100 loc) · 2.93 KB
/
Copy pathpyproject.toml
File metadata and controls
112 lines (100 loc) · 2.93 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["uv_build >= 0.13.0, < 0.14"]
build-backend = "uv_build"
[project]
name = "wfdb"
version = "5.17.0"
description = "Read, write, plot, and process physiologic waveforms 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.13.1",
"matplotlib >= 3.8.0",
"requests >= 2.31.0",
"fsspec >= 2025.7.0",
"aiohttp >= 3.10.11",
"physionet >= 0.11.0",
]
[project.scripts]
wfdb = "wfdb.cli:main"
[project.urls]
homepage = "https://github.com/MIT-LCP/wfdb-python/"
repository = "https://github.com/MIT-LCP/wfdb-python/"
documentation = "https://wfdb.readthedocs.io/"
wfdb-project = "https://wfdb.io/"
issues = "https://github.com/MIT-LCP/wfdb-python/issues"
changelog = "https://wfdb.readthedocs.io/en/latest/changes.html"
[dependency-groups]
dev = [
"pytest >= 8.0.0",
"pytest-xdist >= 3.5.0",
"ruff==0.17.6",
"towncrier == 26.9.0",
]
# 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.uv]
# fonttools 4.69.0 has no sdist or wheels for most supported CI environments.
# Remove this exclusion after a complete upstream release is available.
constraint-dependencies = ["fonttools!=4.69.0"]
[tool.towncrier]
directory = "changelog.d"
filename = "docs/changes.rst"
template = "changelog.d/template.rst.jinja"
start_string = ".. towncrier release notes start\n"
title_format = "Version {version} ({project_date})"
underlines = ["-"]
issue_format = ""
# Fail on any other file, so that a misnamed entry is not silently skipped
ignore = ["README.rst", "template.rst.jinja"]
# A single unnamed category, so that fragments are plain .rst files
[[tool.towncrier.type]]
directory = "rst"
name = ""
showcontent = true
[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"
# Many tests still exercise the legacy names on purpose. The warnings
# themselves are checked in tests/test_legacy_deprecations.py.
filterwarnings = [
'ignore:.* is deprecated; use .* instead \(see the migration guide\):DeprecationWarning',
]
markers = [
"network: requires access to PhysioNet (skipped if it cannot be reached)",
]