-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
74 lines (64 loc) · 1.99 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
[tool.poetry]
name = "shuku"
version = "0.0.3" # Managed by 'release' script.
description = "A command-line tool for condensing video and audio files based on subtitle timestamps, optimizing media content for language learning and study."
authors = ["Óscar Fernández <osc@osc.garden>"]
license = "GPL-3.0-or-later"
homepage = "https://github.com/welpo/shuku"
repository = "https://github.com/welpo/shuku"
documentation = "https://github.com/welpo/shuku"
readme = "README.md"
keywords = ["media-condensation", "video", "audio", "subtitle", "subtitles", "condenser", "language learning", "immersion learning", "summarization"]
classifiers = [
"Environment :: Console",
"Development Status :: 3 - Alpha",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Topic :: Education",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Multimedia :: Video",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
]
[tool.poetry.scripts]
shuku = "shuku.cli:main"
[tool.poetry.dependencies]
python = "^3.11"
pysubs2 = "^1.7.3"
python-ffmpeg = "^2.0.12"
[tool.poetry.group.dev.dependencies]
mypy = "^1.11.1"
pytest = "^8.3.2"
pytest-cov = "^6.0.0"
ruff = "^0.8.0"
[tool.poetry.group.build.dependencies]
nuitka = "^2.5.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
no_implicit_optional = true
warn_no_return = true
warn_redundant_casts = true
strict_equality = true
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
logger-objects = ["logging_setup.logger"]
select = ["I"]
[[tool.mypy.overrides]]
module = "pysubs2.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "ffmpeg.*"
ignore_missing_imports = true
[tool.coverage.run]
omit = [
"*/shuku/demo_utils.py",
]