-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (66 loc) · 1.55 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
[tool.poetry]
name = "octo-slample"
version = "1.0.0"
description = "Sample manager for the ALM Squid Salmple Eurorack Module"
authors = ["Pete Baker <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "octo_slample"}]
[tool.poetry.dependencies]
python = "^3.11"
simpleaudio = "^1.0.4"
click = "^8.1.3"
schema = "^0.7.5"
pysoundfile = "^0.9.0.post1"
numpy = "^1.24.2"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.0.3"
black = "^23.1.0"
flake8 = "^6.0.0"
flake8-pyproject = "^1.2.2"
flake8-docstrings = "^1.7.0"
docformatter = "^1.5.1"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-mock = "^3.10.0"
pytest-lazy-fixture = "^0.6.3"
[tool.poetry.group.docs.dependencies]
sphinx-autoapi = "^2.0.1"
sphinx-click = "^4.4.0"
sphinx-rtd-theme = "^1.1.1"
myst-parser = "^0.18.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
octo-slample = "octo_slample.cli:octo_slample"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"
per-file-ignores = [
"tests/*:D"
]
[tool.pytest.ini_options]
addopts = "--cov=octo_slample --cov-report html"
[tool.coverage.run]
branch = true
source = ["octo_slample", "tests"]
omit = [
"**/__init__.py"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:"
]