quantum_stack_interview/pyproject.toml
2025-05-29 00:21:26 +08:00

54 lines
1.1 KiB
TOML

[project]
name = "quantum-stack-interview"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"django>=4.2.21",
"redis>=6.1.0",
"uvicorn>=0.34.2",
]
[dependency-groups]
dev = [
"pre-commit>=3.5.0",
"pytest>=8.3.5",
"pytest-asyncio>=1.0.0",
"pytest-django>=4.11.1",
]
[tool.ruff]
line-length = 120
src = ["tests", "shop", "quantum_stack_interview"]
target-version = "py39"
[tool.ruff.lint]
select = [
"Q",
"F",
"SIM",
"UP",
"FA", # flake8-annotations
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"PGH", # pygrep-hooks
"RUF", # ruff
"E", # pycodestyle
"W", # pycodestyle
"YTT", # flake8-2020
"T10", # flake8-debugger
"TID", # flake8-tidy-imports
"ASYNC", # flake8-async
"RUF", # ruff
"N", # pep8-naming
"PL", # Pylint
"PTH", # flake8-use-pathlib
]
ignore = ["PLR0911", "PLR0912"]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]