Ruff: Disallow implicit string concat (#29316)

* ruff enable isc

* also disallow multiline
old-commit-hash: 69deed1f1a25e1b230fe492797bfd5d97e6b0f2d
This commit is contained in:
Justin Newberry
2023-08-10 16:43:39 -07:00
committed by GitHub
parent a14f162bc7
commit d7ece3b8fc

View File

@@ -197,8 +197,8 @@ build-backend = "poetry.core.masonry.api"
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
[tool.ruff]
select = ["E", "F", "W", "PIE", "C4"]
ignore = ["W292", "E741", "E402", "C408"]
select = ["E", "F", "W", "PIE", "C4", "ISC"]
ignore = ["W292", "E741", "E402", "C408", "ISC003"]
line-length = 160
target-version="py311"
exclude = [
@@ -209,3 +209,4 @@ exclude = [
"tinygrad_repo",
"third_party",
]
flake8-implicit-str-concat.allow-multiline=false