-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (50 loc) · 1.14 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (50 loc) · 1.14 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
[project]
requires-python = ">= 3.14"
name = "renamarr"
description = "continual rename tool for *arr apps"
authors = [{ name = "Brad Holland", email = "hollanbm@gmail.com" }]
version = "1"
dependencies = [
"pycliarr>=1.0.26,<2",
"python-dotenv>=1.0.1,<2",
"loguru>=0.7.3,<0.8",
"python-dateutil>=2.9.0.post0,<3",
"python-config-parser>=3.1.3,<4",
"schedule>=1.2.2,<2",
]
[dependency-groups]
dev = [
"ruff==0.15.20",
]
test = [
"pytest>=9.0.1,<10",
"pytest-cov>=7.0.0,<8",
"pytest-mock>=3.14.0,<4",
"mock>=5.1.0,<6",
"pytest-loguru>=0.4.0,<0.5",
]
# Treat this repo as an application, so uv installs dependencies without packaging renamarr itself.
[tool.uv]
required-version = "==0.11.24"
package = false
exclude-dependencies = ["m2r2"]
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux'",
]
[tool.pytest]
pythonpath = ["./src"]
testpaths = ["./tests", "./tests/models"]
addopts = [
"--cov=src",
"--cov-branch",
"--cov-fail-under=100",
"--capture=sys",
"--cov-report=xml:coverage.xml",
"--cov-report=html",
"--import-mode=importlib",
]
filterwarnings = [
"error",
]
mock_use_standalone_module = "True"