-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (45 loc) · 1.22 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
[project]
name = "media-helper"
version = "0.1.0"
description = "Help you managing your personal media by providing tools for automatizing tedious tasks"
authors = [{ name = "Benoit Godard", email = "[email protected]" }]
dependencies = [
"httpx>=0.27.0",
"pydantic>=2.7.0",
"parse-torrent-title>=2.8.1",
"pydantic-settings>=2.2.1",
"typer>=0.12.3",
"rich>=13.7.1",
]
requires-python = ">=3.11"
readme = "README.md"
license = { text = "MIT" }
[project.scripts]
media = "media_helper.cli:app"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
plugins = ["sync-pre-commit-lock"]
[tool.pdm.dev-dependencies]
test = ["pytest>=8.1.1"]
lint = ["ruff>=0.3.7", "mypy>=1.9.0", "pre-commit>=3.7.0"]
[tool.pdm.scripts]
cli = { call = "media_helper.__main__:main" }
lint = "pre-commit run --all-files"
[tool.mypy]
files = ["src", "tests"]
strict = true
plugins = "pydantic.mypy"
[[tool.mypy.overrides]]
module = "PTN.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["src", "tests"]
addopts = ["--doctest-modules", "--doctest-report=ndiff"]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ELLIPSIS",
]