pyproject.toml 901 Bytes
Newer Older
Matteo's avatar
Matteo committed
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
[tool.poetry]
name = "audio-analyzer"
version = "0.0.1"
description = "MPAI CAE-ARP Audio Analyser"
authors = ["Matteo Spanio <dev2@audioinnova.com>"]
license = "GPLv3"
readme = "README.md"
packages = [{include = "audio_analyzer"}]

[tool.poetry.dependencies]
python = "^3.10"
mpai-cae-arp = "^0.2.0"
numpy = "1.23.3"


[tool.poetry.group.docs.dependencies]
sphinx = "^6.1.3"


[tool.poetry.group.dev.dependencies]
ruff = "^0.0.261"
pytest = "^7.3.0"
pytest-xdist = "^3.2.1"


[tool.poetry.group.server.dependencies]
fastapi = {extras = ["all"], version = "^0.95.0"}

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
line-length = 88
src = ["src"]
select = [
    "E",    # pycodestyle
    "F",    # pyflakes
    "UP",   # pyupgrade
]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q -n auto -W error::RuntimeWarning"
testpaths = ["tests"]