-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpyproject.toml
103 lines (92 loc) · 2.31 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "diffsptk"
authors = [{ name = "SPTK Working Group" }]
maintainers = [
{ name = "Takenori Yoshimura", email = "[email protected]" },
]
description = "Speech signal processing modules for machine learning"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["dsp", "pytorch", "signal processing", "sptk"]
license = { text = "Apache 2.0" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"numpy >= 1.20.3, < 2.0.0",
"scipy >= 1.5.4, < 1.14.0",
"tqdm >= 4.15.0",
"librosa >= 0.10.1",
"soundfile >= 0.10.2",
"torch >= 2.0.0",
"torchaudio >= 2.0.1",
"torchcrepe >= 0.0.22",
"torchlpc >= 0.2.0",
"torchcomp >= 0.1.0",
"vector-quantize-pytorch >= 1.14.9",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"build",
"docstrfmt",
"isort",
"mdformat",
"numpydoc",
"pkginfo",
"pydata-sphinx-theme",
"pytest",
"pytest-cov",
"ruff",
"sphinx",
"twine",
]
[project.urls]
Homepage = "https://sp-tk.sourceforge.net/"
Documentation = "https://sp-nitech.github.io/diffsptk/latest/"
Source = "https://github.com/sp-nitech/diffsptk"
[tool.hatch.build.targets.sdist]
only-include = ["diffsptk", "CITATION.cff"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "diffsptk/version.py"
[tool.ruff.lint]
preview = true
extend-select = ["FURB"]
exclude = ["__init__.py"]
[tool.isort]
known_first_party = ["diffsptk"]
force_single_line = true
force_sort_within_sections = true
include_trailing_comma = true
multi_line_output = 3
sort_order = "native"
use_parentheses = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise RuntimeError",
"raise ValueError",
"verbose",
"warn_type",
"warnings",
"torch.float",
"torch.double",
]
[tool.coverage.run]
disable_warnings = ["couldnt-parse"]
[tool.pytest.ini_options]
addopts = "--cov=. --cov-report xml -s -x"
filterwarnings = [
"ignore:Casting complex values to real discards the imaginary part",
]