From 90ffa40329120bedb1fd9815f86c677cc923b735 Mon Sep 17 00:00:00 2001 From: Lasse Yledahl Date: Wed, 18 Sep 2024 12:25:16 +0000 Subject: [PATCH] skip 2 perf rules for now --- ruff.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ruff.toml b/ruff.toml index 08df0e8b9..ae0c39c41 100644 --- a/ruff.toml +++ b/ruff.toml @@ -3,7 +3,9 @@ line-length = 120 target-version = "py310" [lint] -select = ["E", "F", "W", "I", "ASYNC", "UP", "FLY", "PERF1", "FURB"] +select = ["E", "F", "W", "I", "ASYNC", "UP", "FLY", "PERF", "FURB"] # For now, ignore E501 (line too long) errors. They are in strings and comments. -ignore = ["E501"] +# For now, ignore PERF203 (try-except-in-loop), TODO: fix them. +# For now, ignore PERF401 (manual-list-comprehension), TODO: fix them. +ignore = ["E501", "PERF203", "PERF401"]