-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
96 lines (86 loc) · 2.28 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
[project]
name = "ezmsg-sigproc"
description = "Timeseries signal processing implementations in ezmsg"
authors = [
{ name = "Griffin Milsap", email = "griffin.milsap@gmail.com" },
{ name = "Preston Peranich", email = "pperanich@gmail.com" },
{ name = "Chadwick Boulay", email = "chadwick.boulay@gmail.com" },
{ name = "Kyle McGraw", email = "kmcgraw@blackrockneuro.com" },
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"array-api-compat>=1.11.1",
"ezmsg[axisarray]>=3.9.0",
"ezmsg-baseproc>=1.8.0",
"mlx>=0.18.0; sys_platform == 'darwin' and platform_machine == 'arm64'",
"numba>=0.61.0",
"numpy>=1.26.0",
"pywavelets>=1.6.0",
"scipy>=1.13.1",
"sparse>=0.15.4",
]
[dependency-groups]
dev = [
"typer>=0.12.5",
"pre-commit>=4.2.0",
"jupyter>=1.1.1",
"scipy-stubs>=1.15.3.0",
"matplotlib>=3.10.8",
{include-group = "lint"},
{include-group = "test"},
{include-group = "docs"},
]
lint = [
"ruff"
]
test = [
"frozendict>=2.4.4",
"pytest-asyncio>=0.24.0",
"pytest-benchmark>=5.2.3",
"pytest-cov>=5.0.0",
"pytest>=8.3.3",
"torch>=2.11.0",
]
docs = [
"sphinx>=8.1.3",
"pydata-sphinx-theme",
"sphinx_autodoc_typehints>=3.0.0",
"sphinx_copybutton",
"myst_parser",
]
profile = [
"snakeviz>=2.2.2",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/ezmsg/sigproc/__version__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/ezmsg"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
norecursedirs = "tests/helpers"
addopts = "-p no:warnings --benchmark-group-by=group,param:n_channels -m 'not sosfilt'"
markers = [
"sosfilt: marks sosfilt development benchmarks (deselected by default, run with: -m sosfilt)",
]
[tool.ruff]
line-length = 120
target-version = "py310"
# Exclude auto-generated files
exclude = ["*/__version__.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.ruff.lint.isort]
known-first-party = ["ezmsg.sigproc"]
known-third-party = ["ezmsg", "ezmsg.baseproc"]
[tool.uv.sources]
# Uncomment to use development version of ezmsg from git
#ezmsg = { git = "https://github.com/ezmsg-org/ezmsg.git", branch = "dev" }