|
1 | | -Run started:2024-10-23 14:23:18.958341 |
| 1 | +Run started:2025-02-13 20:14:59.547454 |
2 | 2 |
|
3 | 3 | Test results: |
4 | 4 | >> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. |
@@ -65,25 +65,25 @@ Test results: |
65 | 65 | Severity: Low Confidence: High |
66 | 66 | CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html) |
67 | 67 | More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b101_assert_used.html |
68 | | - Location: ./deepecho/models/par.py:455:8 |
69 | | -454 seq_len, batch_size, _ = x.shape |
70 | | -455 assert batch_size == 1 |
71 | | -456 |
| 68 | + Location: ./deepecho/models/par.py:451:8 |
| 69 | +450 seq_len, batch_size, _ = x.shape |
| 70 | +451 assert batch_size == 1 |
| 71 | +452 |
72 | 72 |
|
73 | 73 | -------------------------------------------------- |
74 | 74 | >> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. |
75 | 75 | Severity: Low Confidence: High |
76 | 76 | CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html) |
77 | 77 | More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b101_assert_used.html |
78 | | - Location: ./deepecho/models/par.py:496:8 |
79 | | -495 seq_len, batch_size, _input_size = x.shape |
80 | | -496 assert seq_len == 1 and batch_size == 1 |
81 | | -497 |
| 78 | + Location: ./deepecho/models/par.py:492:8 |
| 79 | +491 seq_len, batch_size, _input_size = x.shape |
| 80 | +492 assert seq_len == 1 and batch_size == 1 |
| 81 | +493 |
82 | 82 |
|
83 | 83 | -------------------------------------------------- |
84 | 84 |
|
85 | 85 | Code scanned: |
86 | | - Total lines of code: 1467 |
| 86 | + Total lines of code: 1463 |
87 | 87 | Total lines skipped (#nosec): 0 |
88 | 88 | Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0 |
89 | 89 |
|
|
0 commit comments