From 65bf2700b0cde54c905978ac8d8961a5a646e8dd Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Fri, 14 Jul 2023 09:34:12 -0400 Subject: [PATCH] [has_str_no_range] Limit the rule to detect bugs (#2171) --- bugbot/rules/has_str_no_range.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bugbot/rules/has_str_no_range.py b/bugbot/rules/has_str_no_range.py index 7f4e1f92..5fc02762 100644 --- a/bugbot/rules/has_str_no_range.py +++ b/bugbot/rules/has_str_no_range.py @@ -110,6 +110,9 @@ class HasSTRNoRange(BzCleaner): "f6": "reporter", "o6": "regexp", "v6": r"^.*@softvision\.(ro|com)$", + "f7": "bug_type", + "o7": "equals", + "v7": "defect", } return params