This repository was archived by the owner on Oct 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 1.29 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (75 loc) · 1.29 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
75
76
77
78
79
80
81
82
83
84
85
[project]
name = "plexdl"
version = "0.5.0"
description = ""
authors = [
{ name = "Daniel Hoherd", email = "daniel.hoherd@gmail.com" }
]
license = { text = "MIT License" }
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities",
]
dependencies = [
"humanfriendly>=10.0",
"PlexAPI>=4.16.0",
"requests>=2.32.3",
"typer>=0.13.1",
"humanize>=4.11.0",
]
requires-python = ">=3.11"
[project.scripts]
plexdl = "plexdl.cli:app"
[dependency-groups]
dev = [
"pytest>=8.4.2",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# https://docs.astral.sh/ruff/settings/
[tool.ruff]
line-length = 132
target-version = "py311"
[tool.ruff.lint]
fixable = ["ALL"]
# https://docs.astral.sh/ruff/rules/
select = [
"ASYNC",
"ARG",
"BLE",
"C",
"E",
"F",
"FLY",
"FURB",
"I",
"N",
"PERF",
"PGH",
"Q",
"R",
"RUF",
"S",
"TID",
"UP",
"W",
"YTT",
]
ignore = [
"E501",
"S311",
"S603",
"S607",
"S608",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
"**/__init__.py" = ["F401"]
[tool.ruff.lint.mccabe]
# TODO: reduce this
max-complexity = 11