Первый релиз
All checks were successful
Build And Publish Package / publish (push) Successful in 33s
All checks were successful
Build And Publish Package / publish (push) Successful in 33s
This commit is contained in:
99
pyproject.toml
Normal file
99
pyproject.toml
Normal file
@ -0,0 +1,99 @@
|
||||
[project]
|
||||
name = "oxidespotify"
|
||||
version = "0.1.0"
|
||||
description = "Client for Spotify API"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }]
|
||||
requires-python = ">=3.14"
|
||||
dependencies = ["oxidehttp>=1.0.3,<=2.0.0", "pydantic>=2.12,<=2.13"]
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.9.2,<0.11.0"]
|
||||
build-backend = "uv_build"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"poethepoet>=0.40.0",
|
||||
"pre-commit>=4.5.1",
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "OxideHTTP"
|
||||
url = "https://git.miwory.dev/api/packages/OxideHTTP/pypi/simple"
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "OxideSpotify"
|
||||
url = "https://git.miwory.dev/api/packages/OxideHTTP/pypi/simple"
|
||||
publish-url = "https://git.miwory.dev/api/packages/OxideHTTP/pypi"
|
||||
explicit = true
|
||||
|
||||
[tool.poe.tasks]
|
||||
_git = "git add ."
|
||||
_lint = "pre-commit run --all-files"
|
||||
_ty = "uvx ty@latest check ."
|
||||
|
||||
lint = ["_git", "_lint", "_ty"]
|
||||
check = "uv pip ls --outdated"
|
||||
|
||||
major = "uv version --bump major"
|
||||
minor = "uv version --bump minor"
|
||||
patch = "uv version --bump patch"
|
||||
|
||||
[tool.pyright]
|
||||
venvPath = "."
|
||||
venv = ".venv"
|
||||
strictListInference = true
|
||||
strictDictionaryInference = true
|
||||
strictSetInference = true
|
||||
deprecateTypingAliases = true
|
||||
typeCheckingMode = "strict"
|
||||
pythonPlatform = "All"
|
||||
stubPath = "typings"
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py313"
|
||||
line-length = 79
|
||||
fix = true
|
||||
|
||||
[tool.ruff.lint]
|
||||
preview = true
|
||||
select = [
|
||||
"E",
|
||||
"W",
|
||||
"F",
|
||||
"UP",
|
||||
"A",
|
||||
"B",
|
||||
"C4",
|
||||
"SIM",
|
||||
"I",
|
||||
"S",
|
||||
"G",
|
||||
"FAST",
|
||||
"ASYNC",
|
||||
"BLE",
|
||||
"INT",
|
||||
"ISC",
|
||||
"ICN",
|
||||
"PYI",
|
||||
"INP",
|
||||
"RSE",
|
||||
"PIE",
|
||||
"SLOT",
|
||||
"TID",
|
||||
"LOG",
|
||||
"FBT",
|
||||
"DTZ",
|
||||
"EM",
|
||||
"PERF",
|
||||
"RUF",
|
||||
]
|
||||
ignore = ["RUF002", "RUF029", "S101", "S104", "W505"]
|
||||
|
||||
[tool.ruff.lint.pydoclint]
|
||||
ignore-one-line-docstrings = true
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "single"
|
||||
indent-style = "space"
|
||||
docstring-code-format = true
|
||||
Reference in New Issue
Block a user