-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (96 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
106 lines (96 loc) · 2.44 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[project]
name = "spotify-sdk"
version = "0.10.0"
description = "A Python SDK for the Spotify Web API."
license = "Apache-2.0"
readme = "README.md"
authors = [
{ name = "jonathan343", email = "jonathangee09@gmail.com" }
]
requires-python = ">=3.10"
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"anyio>=4.12.1",
"httpx>=0.28.1",
"pydantic>=2.12.5",
"sniffio>=1.3.1"
]
[build-system]
requires = ["uv_build>=0.9.21,<0.12.0"]
build-backend = "uv_build"
[dependency-groups]
lint = [
"ruff>=0.14.13",
]
test = [
"anyio[trio]>=4.12.1",
"pytest>=9.0.2",
"pytest-httpx>=0.36.0",
]
typecheck = [
"pyright>=1.1.408",
]
codegen = [
{include-group = "lint"},
"unasync>=0.6.0",
]
docs = [
"zensical>=0.0.19",
"mkdocstrings-python>=1.10.0",
"griffe-pydantic>=1.1.0",
]
dev = [
{include-group = "lint"},
{include-group = "test"},
{include-group = "typecheck"},
{include-group = "codegen"},
{include-group = "docs"},
"jmeslog>=0.2.0",
]
[tool.pyright]
pythonVersion = "3.10"
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
# flake8-async: Checks for problems related to asyncio
"ASYNC",
# flake8-logging: Checks for issues when using the logging module
"LOG",
# isort: Checks for un-sorted, un-formatted, and missing imports
"I",
# Checks for unused imports
"F401",
# Enable all `pydocstyle` rules, limiting to those that adhere to the
# Google convention via `convention = "google"`, below.
"D",
]
ignore = [
# Checks for public __init__ method definitions that are missing docstrings.
"D107"
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.per-file-ignores]
# Ignore all docstring rules (D) in the entire tests directory
"tests/*" = ["D"]
[tool.pytest.ini_options]
addopts = "-m 'not integration'"
markers = [
"integration: marks tests that hit real Spotify APIs and require credentials",
]