-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
executable file
·93 lines (81 loc) · 1.75 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
[project]
name = "mtv_dl"
dynamic = ["version"]
description = "MediathekView Downloader"
readme = "DESCRIPTION.rst"
authors = [
{ name = "Frank Epperlein", email = "[email protected]" },
]
repository = "https://github.com/fnep/mtv_dl"
license = { text = "MIT License" }
classifiers = [
"Topic :: Multimedia :: Video",
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: Public Domain",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
]
requires-python = ">=3.10"
scripts = { mtv_dl = 'mtv_dl:app' }
dependencies = [
"iso8601~=2.1.0",
"durationpy~=0.7",
"PyYAML~=6.0",
"beautifulsoup4~=4.12.3",
"rich~=13.8.0",
"certifi~=2024.8.30",
"ijson~=3.3.0",
"typer~=0.12.5",
"typer-config[yaml]~=1.4.0",
]
[dependency-groups]
dev = [
"mypy~=1.11.2",
"twine~=5.1.1",
"types-PyYAML~=6.0.12.20240808",
"types-certifi~=2021.10.8.3",
"pytest~=8.3.2",
"ruff~=0.6.3",
"pytest-mypy~=0.10.3",
"pytest-ruff~=0.4.1",
]
[tool.mypy]
strict = true
warn_unused_ignores = true
ignore_missing_imports = true
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
target-version = "py310"
lint.select = [
"A",
"ARG",
"E",
"F",
"I",
"N",
"PTH",
"Q",
"RUF",
"SIM",
"UP",
"W",
]
lint.isort.force-single-line = true
exclude = [".venv"]
[tool.pytest.ini_options]
addopts = "--doctest-modules --mypy --ruff --ruff-format"
xfail_strict = true
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.hatch.build]
include = [
"mtv_dl.py",
]
[tool.uv-dynamic-versioning]
format = '{base}.{distance}'