ruff: set tab size and quote style (#31749)

old-commit-hash: 997bb65e54badbb8d53ae940367a5d4146dc8e01
This commit is contained in:
Clark934
2024-03-06 22:15:14 -05:00
committed by GitHub
parent 402e8f8b0e
commit 97aa95e454
+3
View File
@@ -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"