63 lines
1.2 KiB
TOML
63 lines
1.2 KiB
TOML
[project]
|
|
name = "tscut"
|
|
version = "0.9.0"
|
|
description = "A tool to cut and reassemble parts of a video at the precision of a single frame."
|
|
authors = [
|
|
{name = "Frédéric Tronel"}
|
|
]
|
|
license = {text = "GPL-2.0-or-later"}
|
|
readme = "README.md"
|
|
requires-python = ">=3.11,<4"
|
|
dependencies = ["requests", "xmltodict", "coloredlogs", "tqdm", "iso639-lang", "hexdump"]
|
|
[tool.poetry]
|
|
packages = [
|
|
{ include = "tscut", from = "src" }
|
|
]
|
|
|
|
[project.scripts]
|
|
tscut = "tscut.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
ruff = "^0.16.2"
|
|
mypy = "^2.3.0"
|
|
pytest = "^9.1.1"
|
|
pylint = "^4.0.7"
|
|
types-tqdm = "^4.70.0.20260827"
|
|
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 100
|
|
src = ["src"]
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"F", # Pyflakes
|
|
"I", # isort
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"SIM", # flake8-simplify
|
|
"RET", # flake8-return
|
|
"PERF", # Perflint
|
|
]
|
|
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
files = ["src"]
|
|
warn_unused_configs = true
|
|
show_error_codes = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"coloredlogs",
|
|
"hexdump",
|
|
]
|
|
ignore_missing_imports = true
|
|
|