Files
TwitchClient/pyproject.toml

106 lines
1.8 KiB
TOML

[project]
name = "twitchclient"
version = "1.0.4"
description = "Client for Twitch API"
readme = "README.md"
authors = [
{ name = "Miwory", email = "miwory.uwu@gmail.com" }
]
requires-python = ">=3.13"
dependencies = [
"aiohttpx>=1.3,<=2.0",
"pydantic>=2.12,<=2.13",
]
[build-system]
requires = ["uv_build>=0.9.2,<0.10.0"]
build-backend = "uv_build"
[project.optional-dependencies]
dev = [
"ruff==0.14.9",
"pyright==1.1.407",
"poethepoet==0.38.0",
"pre-commit==4.5.0",
]
[[tool.uv.index]]
name = "Miwory"
url = "https://git.miwory.dev/api/packages/Miwory/pypi/simple"
[[tool.uv.index]]
name = "twitchclient"
url = "https://git.miwory.dev/api/packages/Miwory/pypi/simple"
publish-url = "https://git.miwory.dev/api/packages/Miwory/pypi"
explicit = true
[tool.poe.tasks]
_git = "git add ."
_lint = "pre-commit run --all-files"
lint = ["_git", "_lint"]
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 = ["RUF029", "S101", "S104"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true
[tool.uv.sources]
aiohttpx = { index = "Miwory" }