From 5abe42f6d365522ce242c6f71fc30f222f8f5693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Matos?= Date: Tue, 18 Jun 2024 10:24:09 +0100 Subject: [PATCH] Tweak ruff configuration Add I - isort rules (order of imports); Ignore line too long warnings. --- lib/pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/pyproject.toml b/lib/pyproject.toml index 2aa90e4058..93d5716fd7 100644 --- a/lib/pyproject.toml +++ b/lib/pyproject.toml @@ -20,6 +20,8 @@ docstring-code-format = true docstring-code-line-length = "dynamic" [tool.ruff.lint] -# Ignore warnings like: Ambiguous variable name: `l` -# ambiguous-variable-name (E741) -ignore = ["E741"] +select = ["E", "F", "I"] +# Ignore warnings: +# line-too-long (E501) +# ambiguous-variable-name (E741): Ambiguous variable name: `l` +ignore = ["E501", "E741"]