-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (57 loc) · 1.46 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
[build-system]
requires = ["setuptools~=73.0"]
build-backend = "setuptools.build_meta"
[project]
name = "video-tools"
version = "0.0.1"
authors = [
{ name="James Johnston", email="[email protected]" },
]
description = "A small collection of utilities for working with video preservation."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.12"
dependencies = [
"av~=12.3",
"colorama~=0.4.6",
"numpy~=2.0",
"PyYAML~=6.0",
"scikit-video~=1.1",
]
[project.optional-dependencies]
dev = [
"pytest~=8.3",
"pytest-cov~=5.0",
"types-colorama~=0.4.15",
"types-pyyaml~=6.0",
]
[project.scripts]
analyze_virtualdub_timing_log = "video_tools.analyze_virtualdub_timing_log:main"
dv_dif_dump = "video_tools.dv_dif_dump:main"
dv_merge = "video_tools.dv_merge:main"
dv_repair = "video_tools.dv_repair:main"
dv_resample_audio = "video_tools.dv_resample_audio:main"
top_line_errors = "video_tools.top_line_errors:main"
[tool.mypy]
plugins = [
"numpy.typing.mypy_plugin"
]
files = "src/**/*.py,tests/**/*.py"
strict = true
# These are additional checks not covered by strict:
disallow_any_unimported = true
enable_error_code = """\
ignore-without-code,\
truthy-bool,\
truthy-iterable,\
redundant-expr,\
redundant-self,\
unused-awaitable\
"""
warn_unreachable = true
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = ["E501", "I", "RUF"]
[tool.setuptools.packages.find]
where = ["src"]