# Ruff configuration file for AlgoSpaced-DSA-Review backend target-version = "py314" line-length = 100 exclude = [ "scripts", ".venv", "algospaced-ui", "scratch", ] [lint] select = ["E", "F", "I", "N", "UP", "B", "A", "C4"] ignore = [ "E501", # Line too long (managed by ruff format) "B008", # FastAPI dependency injection Depends(...) in parameter defaults "B904", # Allow standard raise HTTPException in exception blocks ] [format] quote-style = "double" indent-style = "space"