From 1afe0eb1259bd589da334400eb1700a17f6f8f76 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Thu, 22 Aug 2024 12:25:41 +0100 Subject: [PATCH] Ignore `ISC001` rule for now It gives a warning when running the Ruff formatter. This rule can cause the linter and formatter to conflict, meaning you need to rerun `ruff check --fix` again after `ruff format`. See https://github.com/astral-sh/ruff/issues/8272#issuecomment-1782471016 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d6d69c4ad5..56453f251e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,6 +143,8 @@ extend-select = [ extend-ignore = [ "E501", "E731", + # Remove ISC001 when https://github.com/astral-sh/ruff/issues/8272 is resolved. + "ISC001", ] [tool.ruff.lint.per-file-ignores]