pyproject.toml 1.19 KB
Newer Older
Matteo's avatar
Matteo committed
1
2
3
[tool.poetry]
name = "mpai-cae-arp"
version = "0.1.0"
Matteo's avatar
Matteo committed
4
5
description = "The MPAI CAE-ARP software API"
authors = ["Matteo Spanio <matteo.spanio97@gmail.com>"]
Matteo's avatar
Matteo committed
6
7
8
9
10
11
12
13
readme = "README.md"
packages = [{include = "mpai_cae_arp"}]

[tool.poetry.dependencies]
python = "^3.10"
numpy = "1.23.3"
pydantic = "^1.10.7"
pyyaml = "^6.0"
Matteo's avatar
Matteo committed
14
15
llvmlite = "^0.39.1"
librosa = "^0.10.0.post2"
Matteo's avatar
Matteo committed
16
17
18
19
20
21
22
23
24

[tool.poetry.group.dev.dependencies]
pylint = "^2.17.2"
yapf = "^0.32.0"
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
pytest-xdist = "^3.2.1"
toml = "^0.10.2"

Matteo's avatar
Matteo committed
25
26
27
28

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

Matteo's avatar
Matteo committed
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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

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

[tool.coverage.run]
relative_files = true

[tool.yapf]
blank_line_before_nested_class_or_def = true
column_limit = 80

[tool.pylint]
max-line-length = 80
disable = [
    "C0103",  # Invalid name
    "C0114",  # Missing module docstring
    "C0115",  # Missing class docstring
    "C0116",  # Missing function or method docstring
    "C0301",  # Line too long
    "W0102",  # Dangerous default value
    "E1101",  # Module has no member
]