From 51fe000e4b186e37e96fbe2991fa76e9951e9872 Mon Sep 17 00:00:00 2001 From: Pieter Kuppens Date: Mon, 31 Mar 2025 20:20:33 +0200 Subject: [PATCH] Disable SIM108 in the tool.ruff.lint settings No ternary operator 'simplify' suggestion --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/pkuppens/templify?shareId=XXXX-XXXX-XXXX-XXXX). --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1490ce2..b86a6b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ target-version = "py312" [tool.ruff.lint] select = ["E", "I", "W", "C4", "RUF", "SIM", "TID", "TCH", "RSE", "RET", "SLF", "ERA", "PD", "PGH", "PL"] -ignore = [] +ignore = ["SIM108"] [tool.ruff.lint.isort] known-first-party = ["templify"]