From b17c5b692124e3eeb582b29d2e681a37807e4b4b Mon Sep 17 00:00:00 2001 From: Ghislain Piot Date: Thu, 4 Apr 2024 15:51:11 +0200 Subject: [PATCH] Modify rule classification and impacts --- rules/S6886/python/metadata.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rules/S6886/python/metadata.json b/rules/S6886/python/metadata.json index fb666af9906..5d5548f24c3 100644 --- a/rules/S6886/python/metadata.json +++ b/rules/S6886/python/metadata.json @@ -1,6 +1,6 @@ { "title": "offset-naive datetime.time and datetime.datetime objects should not be compared with offset-aware ones", - "type": "CODE_SMELL", + "type": "BUG", "status": "ready", "remediation": { "func": "Constant\/Issue", @@ -16,10 +16,8 @@ "quickfix": "unknown", "code": { "impacts": { - "MAINTAINABILITY": "HIGH", - "RELIABILITY": "MEDIUM", - "SECURITY": "LOW" + "RELIABILITY": "HIGH" }, - "attribute": "CONVENTIONAL" + "attribute": "LOGICAL" } }