-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (102 loc) · 2.63 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[tool.poetry]
name = "podplay-api"
version = "0.0.0"
description = "A client library for using the podplay.com web API"
readme = "README.md"
authors = ["Bendik R. Brenne <[email protected]>"]
repository = "https://github.com/bendikrb/podplay_api"
documentation = "https://podplay-api.readthedocs.io/en/latest/"
license = "MIT"
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
keywords = [
"podcast",
"api-client",
"unofficial",
]
packages = [
{ include = "podplay_api" },
]
[tool.poetry.dependencies]
python = "^3.12"
aiohttp = "^3.9.5"
async-timeout = "^4.0.3"
asyncstdlib = "^3.12.5"
mashumaro = {extras = ["orjson"], version = "^3.13.1"}
orjson = "^3.10.3"
pathlib = "^1.0.1"
rich = "^13.8.1"
[tool.poetry.group.dev.dependencies]
aresponses = "^3.0.0"
covdefaults = "2.3.0"
pylint = "3.2.7"
pytest = "^8.3.3"
pytest-asyncio = "*"
pytest-cov = "^5.0.0"
ruff = "0.6.4"
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
plugins = ["covdefaults"]
source = ["podplay_api"]
[tool.poetry.scripts]
podplay = "podplay_api.cli:main"
[tool.pytest.ini_options]
addopts = "--cov"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff.lint]
ignore = [
"ARG001",
"A003", "ANN001", "ANN003", "ANN101", "ANN102", "ANN201", "ANN202", "ANN204", "ANN205", "ANN401",
"COM812", "COM819",
"D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "D202", "D203", "D205", "D206", "D213",
"E501", "EM101", "EM102",
"ERA001",
"FBT001", "FBT002", "FBT003",
"FIX002",
"G004",
"ISC001",
"PLR0913",
"PTH123",
"Q000", "Q001", "Q002", "Q003",
"RUF012",
"S101",
"SLOT000",
"TD003", "TID252", "TRY003", "TRY300",
"W191",
]
select = ["ALL"]
[tool.pylint."MESSAGES CONTROL"]
disable = [
"format",
"duplicate-code",
"used-before-assignment",
"too-many-arguments",
"too-many-instance-attributes",
"too-few-public-methods",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
]
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.ruff.lint.isort]
force-sort-within-sections = true
combine-as-imports = true
known-first-party = ["podplay_api"]
[tool.ruff.lint.flake8-type-checking]
runtime-evaluated-base-classes = [
"mashumaro.mixins.orjson.DataClassORJSONMixin",
]
[tool.ruff.lint.mccabe]
max-complexity = 25
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"