diff --git a/pyproject.toml b/pyproject.toml index ff3dc61..ea730a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,3 +37,28 @@ build-backend = "poetry.core.masonry.api" [tool.ruff] line-length = 120 +indent-width = 4 + +# Assume Python 3.9 +target-version = "py39" + +[tool.ruff.format] +# Like Black, use double quotes for strings. +quote-style = "double" + +# Like Black, indent with spaces, rather than tabs. +indent-style = "space" + +# Like Black, respect magic trailing commas. +skip-magic-trailing-comma = false + +# Like Black, automatically detect the appropriate line ending. +line-ending = "auto" + +[tool.ruff.lint] +# Enable the isort rules. +extend-select = ["I"] + +[tool.ruff.lint.isort] +case-sensitive = true +combine-as-imports = true