commit 5abe42f6d365522ce242c6f71fc30f222f8f5693
Author: José Matos <[email protected]>
Date: Tue Jun 18 10:24:09 2024 +0100
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"]
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs