-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
73 lines (63 loc) · 1.42 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[tool.poetry]
name = "plexdl"
version = "0.4.3"
description = ""
authors = ["Daniel Hoherd <[email protected]>"]
license = "MIT License"
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Topic :: Utilities",
]
[tool.poetry.scripts]
plexdl = 'plexdl.cli:app'
[tool.poetry.dependencies]
humanfriendly = "^10.0"
importlib-metadata = "^7.2.1"
pendulum = "^3.0.0"
PlexAPI = "^4.15.14"
python = "^3.11"
requests = "^2.32.3"
typer = "^0.12.3"
humanize = "^4.9.0"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
flake8 = "^7.1.0"
pytest = "^8.2.2"
tox = "^4.15.1"
pdbr = "^0.8.8"
[tool.black]
line-length = 132
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39
skipsdist = True
[testenv]
whitelist_externals = poetry
#skip_install = true
deps = pre-commit
commands =
pre-commit install -f --install-hooks
pre-commit run --all-files
poetry install -vvv
poetry run pytest tests/
[pep8]
ignore = E265
"""
[build-system]
requires = ["poetry>=1.5.1"]
build-backend = "poetry.masonry.api"
[tool.ruff.lint]
fixable = ["ALL"]
select = ["C", "E", "F", "Q", "S"]
ignore = ["E501", "S311", "S603", "S608", "S607"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
"**/__init__.py" = ["F401"]
[tool.ruff.lint.mccabe]
# TODO: reduce this
max-complexity = 11