From 6fbcf67190867a2cf4fbfa6d7fba2a8b2feff5c3 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 14 Mar 2023 09:37:03 +0000 Subject: [PATCH] python: revert ruff C4 -> C40 change It is an error in ruff 0.0.255, will be fixed in the next version: https://github.com/charliermarsh/ruff/commit/a8c1915e2efbcd0a4bd798ed3e81cdc18f8e1890 --- python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 1cd94c48e..fb846cc8f 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -51,7 +51,7 @@ git_describe_command = "git describe --dirty --tags --long --match v*.*" line-length = 120 [tool.ruff] -select = ["E", "F", "W", "YTT", "C40", "ISC", "ICN", "TID", "DTZ", "PLC", "PLE", "PLW", "PIE", "COM", "UP004", "UP010", "UP031", "UP032", "ANN204"] +select = ["E", "F", "W", "YTT", "C4", "ISC", "ICN", "TID", "DTZ", "PLC", "PLE", "PLW", "PIE", "COM", "UP004", "UP010", "UP031", "UP032", "ANN204"] line-length = 120 [tool.isort]