From 997bb65e54badbb8d53ae940367a5d4146dc8e01 Mon Sep 17 00:00:00 2001 From: Clark934 Date: Wed, 6 Mar 2024 22:15:14 -0500 Subject: [PATCH] ruff: set tab size and quote style (#31749) --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 0f7734b3b3..8894d5eca2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -171,6 +171,7 @@ build-backend = "poetry.core.masonry.api" # https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml [tool.ruff] +indent-width = 2 lint.select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF008", "RUF100", "A", "B", "TID251"] lint.ignore = ["E741", "E402", "C408", "ISC003", "B027", "B024"] line-length = 160 @@ -195,3 +196,5 @@ lint.flake8-implicit-str-concat.allow-multiline=false [tool.coverage.run] concurrency = ["multiprocessing", "thread"] +[tool.ruff.format] +quote-style = "preserve"