[tool.black] line-length = 100 target-version = ['py313'] include = '\.pyi?$' extend-exclude = ''' /( # Исключаем стандартные папки \.git | \.venv | build | dist | alembic )/ ''' [tool.ruff] # Базовые настройки line-length = 100 target-version = "py313" # Исключаем alembic полностью exclude = [ ".git", ".venv", "build", "dist", "alembic", ] [tool.ruff.lint] select = [ "E", "W", "F", "I", "N", "UP", "B", "SIM", "PL", "RUF", "TID", "PT", ] ignore = [ "E501", "D100", "D104", "G004", "PLR0913", "RUF001", "RUF002", "RUF003", "B008" ] [tool.ruff.lint.isort] combine-as-imports = true