-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.51 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (64 loc) · 1.51 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "termrenamer"
version = "0.12.0"
description = "TUI app to rename TV and movie files using online metadata (plan→preview→confirm→apply)"
readme = "README.md"
requires-python = ">=3.13"
license = { text = "GPL-3.0-only" }
authors = [{ name = "eunai" }]
dependencies = [
"httpx>=0.28.0",
"python-dotenv>=1.0.0",
"textual>=1.0.0",
"textual-fspicker==1.0.0",
"tomli_w>=1.0.0",
]
[project.optional-dependencies]
dev = [
"tomli_w>=1.0.0",
"mypy>=1.15.0",
"pytest-asyncio>=0.25.0",
"pytest-cov>=6.0.0",
"pytest>=8.0.0",
"ruff>=0.9.0",
]
[project.scripts]
termrenamer = "termrenamer.__main__:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"asyncio: async tests (pytest-asyncio)",
]
addopts = [
"--cov=termrenamer",
"--cov-report=term-missing",
"--cov-fail-under=85",
]
[tool.coverage.run]
source = ["src/termrenamer"]
branch = false
[tool.coverage.report]
fail_under = 85
show_missing = true
[tool.ruff]
target-version = "py313"
line-length = 100
src = ["src", "tests"]
extend-exclude = ["dev_textual"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.13"
strict = true
warn_return_any = true
warn_unused_configs = true
mypy_path = "src"
packages = ["termrenamer"]