-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (78 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (78 loc) · 2.21 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
86
# Auto-generated by ma-provider-tools — do not edit manually.
[project]
name = "ma-provider-yandex-station"
description = "Yandex Station provider for Music Assistant"
requires-python = ">=3.12"
dynamic = ["version"]
dependencies = [
"ya-passport-auth>=1.4.1",
]
[project.optional-dependencies]
test = [
"pytest>=9.0",
"pytest-asyncio>=0.24",
"pytest-aiohttp>=1.1",
"pytest-cov>=7.0",
"syrupy>=5.0",
"codespell>=2.4",
"music-assistant @ git+https://github.com/music-assistant/server.git@dev",
"ruff>=0.14",
"mypy>=1.19",
"pre-commit>=4.5",
"pre-commit-hooks>=6.0",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {file = "VERSION"}
[tool.setuptools.packages.find]
where = ["."]
include = ["provider*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"integration: integration tests requiring a real MA server instance",
]
filterwarnings = [
"ignore:coroutine.*was never awaited:RuntimeWarning",
]
[tool.codespell]
# >>> ma-provider-tools sync (codespell skip) — DO NOT EDIT >>>
skip = "*.js,*.svg,docs-site/package-lock.json"
# <<< ma-provider-tools sync (codespell skip) <<<
# >>> ma-provider-tools sync (mypy) — DO NOT EDIT >>>
[tool.mypy]
python_version = "3.12"
platform = "linux"
follow_imports = "silent"
ignore_missing_imports = true
check_untyped_defs = true
disable_error_code = ["annotation-unchecked", "import-not-found", "import-untyped"]
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
enable_error_code = ["ignore-without-code", "redundant-self", "truthy-iterable"]
extra_checks = false
local_partial_types = true
no_implicit_optional = true
no_implicit_reexport = true
packages = ["tests", "provider"]
show_error_codes = true
strict_equality = true
strict_optional = true
warn_incomplete_stub = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
# <<< ma-provider-tools sync (mypy) <<<
[[tool.mypy.overrides]]
module = "tests.*"
warn_unused_ignores = false