From 4474bc2c72977e4bed854cb0e1fd043893c3f5d8 Mon Sep 17 00:00:00 2001 From: bart1e Date: Sun, 26 Feb 2023 18:51:13 +0100 Subject: [PATCH 1/2] WIKI URL fixed --- slither/detectors/functions/cyclomatic_complexity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/detectors/functions/cyclomatic_complexity.py b/slither/detectors/functions/cyclomatic_complexity.py index f03cf61b89..16dc630126 100644 --- a/slither/detectors/functions/cyclomatic_complexity.py +++ b/slither/detectors/functions/cyclomatic_complexity.py @@ -22,7 +22,7 @@ class CyclomaticComplexity(AbstractDetector): IMPACT = DetectorClassification.INFORMATIONAL CONFIDENCE = DetectorClassification.HIGH - WIKI = 'https://github.com/crytic/slither/wiki/Detector-Documentation#cyclomatic-complexity"' + WIKI = 'https://github.com/crytic/slither/wiki/Detector-Documentation#cyclomatic-complexity' WIKI_TITLE = "Cyclomatic complexity" WIKI_DESCRIPTION = "Detects functions with high (> 11) cyclomatic complexity." From 5f6551d285313ddea59d7ef3e65ef4e5dff41ad5 Mon Sep 17 00:00:00 2001 From: bart1e Date: Sun, 26 Feb 2023 20:14:38 +0100 Subject: [PATCH 2/2] Black run --- slither/detectors/functions/cyclomatic_complexity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/detectors/functions/cyclomatic_complexity.py b/slither/detectors/functions/cyclomatic_complexity.py index 16dc630126..53212fd4f9 100644 --- a/slither/detectors/functions/cyclomatic_complexity.py +++ b/slither/detectors/functions/cyclomatic_complexity.py @@ -22,7 +22,7 @@ class CyclomaticComplexity(AbstractDetector): IMPACT = DetectorClassification.INFORMATIONAL CONFIDENCE = DetectorClassification.HIGH - WIKI = 'https://github.com/crytic/slither/wiki/Detector-Documentation#cyclomatic-complexity' + WIKI = "https://github.com/crytic/slither/wiki/Detector-Documentation#cyclomatic-complexity" WIKI_TITLE = "Cyclomatic complexity" WIKI_DESCRIPTION = "Detects functions with high (> 11) cyclomatic complexity."