Files
nginx-unit-exporter/pyproject.toml
2024-10-12 22:03:02 +03:00

53 lines
1.1 KiB
TOML

[project]
name = "nginx-unit-exporter"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"environs>=11.0.0",
"granian>=1.6.0",
"httpx>=0.27.2",
"orjson>=3.10.7",
"uvloop>=0.20.0",
]
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py312"
[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