Commit 80fd9b5
committed
Clear remaining SonarCloud + Codacy findings on PR #181
- Drop AudioBackendError from except tuples that already catch
RuntimeError; AudioBackendError is a RuntimeError subclass
(S5713 ×4 in host.py and remote_desktop_tab.py).
- Remove the now-unused AudioBackendError, _AUDIO_BLOCK_FRAMES,
_AUDIO_CHANNELS, _AUDIO_SAMPLE_RATE imports from host.py and tab.py
(Codacy F401).
- Move NOSONAR S5527 / S4830 onto the actual ctx.check_hostname /
ctx.verify_mode lines in remote_desktop_tab.py and the TLS test;
Sonar only honours suppression when the comment is on the flagged
line itself.
- Replace '/tmp/...' literals in test_remote_desktop_file_transfer.py
with relative 'drop/...' paths so Sonar's S5443 publicly-writable
directory hotspot stops firing on what was always pure in-memory
test data.
- Add a 'nosemgrep:' annotation alongside the existing 'nosec B324'
on the RFC 6455 SHA-1 line so Codacy's Semgrep ruleset stops
flagging it.1 parent 562b541 commit 80fd9b5
6 files changed
Lines changed: 17 additions & 42 deletions
File tree
- .idea
- je_auto_control
- gui
- utils/remote_desktop
- test/unit_test/headless
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
473 | 472 | | |
474 | 473 | | |
475 | 474 | | |
476 | | - | |
| 475 | + | |
477 | 476 | | |
478 | 477 | | |
479 | 478 | | |
| |||
717 | 716 | | |
718 | 717 | | |
719 | 718 | | |
720 | | - | |
721 | | - | |
722 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
723 | 722 | | |
724 | 723 | | |
725 | 724 | | |
| |||
733 | 732 | | |
734 | 733 | | |
735 | 734 | | |
736 | | - | |
| 735 | + | |
737 | 736 | | |
738 | 737 | | |
739 | 738 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 13 | + | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
430 | 427 | | |
431 | 428 | | |
432 | 429 | | |
433 | | - | |
| 430 | + | |
434 | 431 | | |
435 | 432 | | |
436 | 433 | | |
| |||
445 | 442 | | |
446 | 443 | | |
447 | 444 | | |
448 | | - | |
| 445 | + | |
449 | 446 | | |
450 | 447 | | |
451 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments