From 0da36a9835506d781d0525f994f6f25070d1a2b9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 29 Mar 2024 12:05:34 +0530 Subject: [PATCH] Use ruff for auto-format --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b8ecfcab41..f716848f64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,14 +5,14 @@ builtins = ['_'] [tool.ruff.lint] ignore = ['E741', 'E402', 'E722', 'E401'] -select = ['E', 'F'] +select = ['E', 'F', 'I'] [tool.ruff.lint.per-file-ignores] "src/calibre/ebooks/unihandecode/unicodepoints.py" = ["E501"] "src/qt/__init__.py" = ["E501"] -[tool.black] -target-version = ['py38'] +[tool.ruff.format] +quote-style = 'single' [tool.isort] profile = "black"