From b2e1262ff5e96a493a8aefd30924e01e4304ab66 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sun, 30 Jun 2024 21:19:58 +0200 Subject: [PATCH] Add ignored codes --- ruff.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ruff.toml b/ruff.toml index 355221099de..c961b4019d7 100644 --- a/ruff.toml +++ b/ruff.toml @@ -19,8 +19,12 @@ select = [ "UP", # pyupgrade ] ignore = [ - "B904", # check for raise statements in exception handlers that lack a from clause - "B905", # zip() without an explicit strict= parameter + "B904", # check for raise statements in exception handlers that lack a from clause + "B905", # zip() without an explicit strict= parameter + "PLR0911", # Too many return statements + "PLR0913", # Too many arguments in function definition + "PLR0915", # Too many statements + ] [lint.per-file-ignores]