[project] name = "nginx-unit-logs-request-exporter" version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" dependencies = [ "aiofiles>=24.1.0", "environs>=11.0.0", "granian>=1.6.0", "orjson>=3.10.7", "prometheus-client>=0.21.0", "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