forked from jinxo13/FetchTV-Helpers
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (79 loc) · 2.2 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (79 loc) · 2.2 KB
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
94
95
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "fetchtv-cli"
dynamic = ["version"]
description = 'A CLI tool to download recordings from Fetch TV boxes using UPnP.'
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
keywords = []
authors = [
{ name = "lingfish", email = "jason@lucid.net.au" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"requests>=2.25.1",
"jsonpickle>=2.0.0",
"click",
"rich"
]
[project.urls]
Documentation = "https://github.com/lingfish/fetchtv-cli#readme"
Issues = "https://github.com/lingfish/fetchtv-cli/issues"
Source = "https://github.com/lingfish/fetchtv-cli"
[tool.hatch.version]
source = "vcs"
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/fetchtv_cli tests}"
[tool.coverage.run]
source_pkgs = ["fetchtv_cli"]
branch = true
parallel = true
omit = [
"src/fetchtv_cli/_version.py",
]
[tool.coverage.paths]
fetchtv_cli = ["src/fetchtv_cli", "*/fetchtv-cli/src/fetchtv_cli"]
tests = ["tests", "*/fetchtv-cli/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[project.scripts]
fetchtv = "fetchtv_cli.fetchtv_cli:main"
[tool.pylint]
max-line-length = 120
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "single"
[tool.pytest.ini_options]
log_level = "DEBUG"
[tool.hatch.envs.hatch-test.scripts]
run = "pytest{env:HATCH_TEST_ARGS:} {args}"
run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
cov-combine = "coverage combine"
cov-report = "coverage xml"
[tool.hatch.build.hooks.vcs]
version-file = "src/fetchtv_cli/_version.py"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.targets.sdist]
only-packages = true