-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
57 lines (46 loc) · 1.21 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
[build-system]
requires = ['setuptools>=61']
build-backend = 'setuptools.build_meta'
[project]
name = 'audiobook-split-ffmpeg'
authors = [
{name='Markus H (MawKKe)', email='[email protected]'}
]
description = 'Split audiobook file into per-chapter files using chapter metadata and ffmpeg'
dynamic = ["version"]
license = {text = 'Apache License 2.0'}
readme = 'README.md'
requires-python = '>=3.8'
dependencies = []
[tool.setuptools.dynamic]
version = {attr = "audiobook_split_ffmpeg.__version__"}
[project.optional-dependencies]
dev = [
'ruff>=0.3',
'pytest>=7',
'pytest-cov>=4.1',
'mypy>=1.10',
]
[project.urls]
homepage = 'https://github.com/MawKKe/audiobook-split-ffmpeg'
Issues = 'https://github.com/MawKKe/audiobook-split-ffmpeg/issues'
[project.scripts]
audiobook-split-ffmpeg = 'audiobook_split_ffmpeg.cli:main'
[tool.pytest.ini_options]
pythonpath = [
".", "src",
]
[tool.ruff]
line-length = 100
[tool.ruff.format]
# Use single quotes rather than double quotes.
quote-style = 'single'
skip-magic-trailing-comma = false
[tool.ruff.lint]
select = ['E4', 'E7', 'E9', 'F', 'C901']
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.mypy]
#warn_return_any = true
warn_unreachable = true
disallow_untyped_defs = true