Files
nginx-unit-logs-request-exp…/pyproject.toml
T
akamoroz 5c3edc2faa
Build Docker Image / build-and-deploy-image (push) Successful in 10m7s
Full bump: Python 3.14, Alpine 3.24, all deps and pre-commit hooks
- Runtime image python:3.12-alpine -> python:3.14-alpine3.24
- Builder uv image -> python3.14-alpine
- requires-python >=3.14, ruff target-version py314, .python-version 3.14
- Deps: aiofiles 25.1.0, environs 15.0.1, granian 2.7.9, orjson 3.11.9,
  uvloop 0.22.1 (uv.lock regenerated with --upgrade)
- pre-commit hooks: pre-commit-hooks v6.0.0, hadolint v2.14.0, ruff v0.15.20
- Verified: image builds on musl (cp314 wheels), granian 2.x starts,
  /metrics returns 200, pre-commit run --all-files passes
2026-07-08 16:31:09 +03:00

52 lines
1.1 KiB
TOML

[project]
name = "nginx-unit-logs-request-exporter"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"aiofiles>=25.1.0",
"environs>=15.0.1",
"granian>=2.7.9",
"orjson>=3.11.9",
"uvloop>=0.22.1",
]
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py314"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"T",
"SIM",
"RUF",
]
ignore = [
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
]
[tool.ruff.lint.isort]
known-third-party = ["fastapi", "pydantic", "starlette", "sqlalchemy", "alembic", "loguru"]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = 100