-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
105 lines (92 loc) · 2.46 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "arfx"
version = "2.7.1"
description = "Advanced Recording Format Tools"
readme = "README.rst"
requires-python = ">=3.8"
license = {text = "BSD 3-Clause License"}
authors = [
{name = "C Daniel Meliza", email = "[email protected]"},
]
maintainers = [
{name = "C Daniel Meliza", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Operating System :: Unix",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Natural Language :: English"
]
dependencies = [
"arf>=2.7.0",
"ewave>=1.0.7",
"tqdm",
"natsort",
]
[project.urls]
Homepage = "https://github.com/melizalab/arfx"
[project.scripts]
arfx = "arfx.core:arfx"
arfx-split = "arfx.splitter:main"
arfx-select = "arfx.select:main"
arfx-collect-sampled = "arfx.collect:collect_sampled_script"
arfx-oephys = "arfx.oephys:script"
[project.entry-points."arfx.io"]
".pcm" = "arfx.pcmio:pcmfile"
".dat" = "arfx.pcmio:pcmfile"
".npy" = "arfx.npyio:npyfile"
".mda" = "arfx.mdaio:mdafile"
".wav" = "ewave:wavfile"
[dependency-groups]
dev = [
"pytest>=8.3.3,<9",
"pytest-cov >= 4.1.0",
"ruff>=0.7.0"
]
[tool.pytest.ini_options]
python_files = ["test_*.py", "*_test.py"]
addopts = "-v --cov=arfx --cov-report=term-missing"
testpaths = ["test"]
[tool.black]
line-length = 88
target-version = ["py38"]
include = '\.pyi?$'
[tool.ruff]
line-length = 88
target-version = "py38"
extend-exclude = ["build", "attic"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
]
ignore = ["E221", "E501", "E701"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.8"
ignore_missing_imports = true
strict_optional = true
check_untyped_defs = true
[tool.hatch.build]
include = ["arfx/**"]
exclude = ["*test*"]
artifacts = ["README.rst"]