From 1b6d7dbff93f4bdfeaeae5d55b194120faf0e836 Mon Sep 17 00:00:00 2001 From: Virgile Andreani Date: Tue, 8 Oct 2024 10:13:19 +0200 Subject: [PATCH] Enable ruff C4 rules (comprehensions) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f59054eb13..770fd0e040 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ extend-exclude = ["_version.py"] docstring-code-format = true [tool.ruff.lint] -select = ["D", "E", "F", "I", "UP", "W", "RUF"] +select = ["C4", "D", "E", "F", "I", "UP", "W", "RUF"] ignore = [ "E501", "F841", # Local variable name is assigned to but never used