-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (85 loc) · 2.26 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (85 loc) · 2.26 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
96
97
98
99
100
[build-system]
requires = ['setuptools>=61.0']
build-backend = "setuptools.build_meta"
[project]
name = "televize"
version = "0.6.0"
authors = [
{name = "Vlastimil Zíma", email = "vlastimil.zima@gmail.com"},
]
description = "Script to play Czech Television (Česká televize) streams in a custom player."
readme = "README.rst"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
dependencies = [
"docopt-ng",
"requests",
]
requires-python = "~= 3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: OS Independent",
"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 :: 3.13",
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Topic :: Utilities",
"Typing :: Typed",
]
[project.optional-dependencies]
quality = [
"doc8",
"mypy",
"ruff",
]
tests = [
"responses",
"testfixtures",
]
types = [
"types-requests",
]
[project.scripts]
televize = "televize:main"
[project.urls]
homepage = "https://github.com/ziima/televize"
changelog = "https://github.com/ziima/televize/blob/master/CHANGELOG.rst"
[tool.setuptools]
py-modules = ["televize"]
[tool.doc8]
max-line-length = 120
allow-long-titles = true
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
check_untyped_defs = true
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "W", "C90", "I", "D", "S", "C", "UP", "B", "ISC", "G", "RSE"]
ignore = ["D105", "D106", "D107", "UP032", "ISC001"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D1", "S101", "S105", "S106", "S107", "B015", "B018"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.pycodestyle]
max-doc-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"