From d0b364baf199debeda5bb94ccaafbd2099e76584 Mon Sep 17 00:00:00 2001 From: SDV Team <98988753+sdv-team@users.noreply.github.com> Date: Thu, 15 Aug 2024 10:43:51 -0400 Subject: [PATCH] Latest Code Analysis (#624) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- static_code_analysis.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static_code_analysis.txt b/static_code_analysis.txt index 5a33b8e1..b9dd8d90 100644 --- a/static_code_analysis.txt +++ b/static_code_analysis.txt @@ -1,4 +1,4 @@ -Run started:2024-07-15 14:59:18.204597 +Run started:2024-08-13 22:18:16.859345 Test results: >> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. @@ -36,10 +36,10 @@ Test results: Severity: Medium Confidence: High CWE: CWE-502 (https://cwe.mitre.org/data/definitions/502.html) More Info: https://bandit.readthedocs.io/en/1.7.7/blacklists/blacklist_calls.html#b301-pickle - Location: ./sdmetrics/reports/base_report.py:306:21 -305 with open(filepath, 'rb') as f: -306 report = pickle.load(f) -307 if current_version != report._package_version: + Location: ./sdmetrics/reports/base_report.py:309:21 +308 with open(filepath, 'rb') as f: +309 report = pickle.load(f) +310 if current_version != report._package_version: -------------------------------------------------- >> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. @@ -117,7 +117,7 @@ Test results: -------------------------------------------------- Code scanned: - Total lines of code: 9234 + Total lines of code: 9249 Total lines skipped (#nosec): 0 Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0