Lint fix: prettier, 1 → 0 problems in 2 files #46

Merged
kompas-review merged 1 commit from lint-fix/yaml_prettier into main 2026-11-09 12:07:02 +01:00
Collaborator

🧹 Lint fix · prettier (YAML)

Before: 1 problems in these 2 files. After: 0.

Files Fixed by Before After
2 files prettier 1 0

Problems left for prettier in the whole repo: about 0. The nightly job takes the next files tomorrow.

Every change was kept only because the error count of all YAML checks went down. Please read the diff before merging; kompas-review will post a review.

Nightly lint-fix job (MegaLinter + Coder, Qwen 3.5 on kireserver).

## 🧹 Lint fix · prettier (YAML) Before: **1** problems in these 2 files. After: **0**. | Files | Fixed by | Before | After | |---|---|---:|---:| | 2 files | prettier | 1 | 0 | Problems left for prettier in the whole repo: about **0**. The nightly job takes the next files tomorrow. Every change was kept only because the error count of all YAML checks went down. Please read the diff before merging; kompas-review will post a review. <sub>Nightly lint-fix job (MegaLinter + Coder, Qwen 3.5 on kireserver).</sub>
Lint fix (prettier): automatic fixes by prettier
All checks were successful
lint / megalinter (pull_request) Successful in 50s
kk / all-checks All 2 checks passed
kreative-pr/review reviewed: 0 finding(s)
ed83589339
Author
Collaborator

Title

Lint fix: prettier, 1 → 0 problems in 2 files


PR Type

Documentation


Description

  • Updates inline comments in lint workflow files

  • Removes trailing whitespace from configuration lines

  • Standardizes comment formatting for consistency


Diagram Walkthrough

flowchart LR
  A[".forgejo/workflows/lint-fix.yml"] -->|"comment spacing"| B["lint-fix.yml"]
  C[".forgejo/workflows/lint.yml"] -->|"trailing spaces"| D["lint.yml"]

File Walkthrough

Relevant files
Formatting
lint-fix.yml
Fix inline comment spacing in lint-fix workflow                   

.forgejo/workflows/lint-fix.yml

  • Adjusted spacing around inline comment in schedule cron definition
  • No functional logic changes, purely cosmetic formatting
+1/-1     
lint.yml
Clean up trailing spaces and add comments in lint workflow

.forgejo/workflows/lint.yml

  • Removed trailing whitespace from DISABLE_ERRORS and JSON_REPORTER
    lines
  • Added inline comments to clarify configuration purpose
+2/-2     

## Title <!-- pr-agent:describe:persistent --> Lint fix: prettier, 1 → 0 problems in 2 files ___ ### **PR Type** Documentation ___ ### **Description** - Updates inline comments in lint workflow files - Removes trailing whitespace from configuration lines - Standardizes comment formatting for consistency ___ ### Diagram Walkthrough ```mermaid flowchart LR A[".forgejo/workflows/lint-fix.yml"] -->|"comment spacing"| B["lint-fix.yml"] C[".forgejo/workflows/lint.yml"] -->|"trailing spaces"| D["lint.yml"] ``` <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Formatting</strong></td><td><table> <tr> <td> <details> <summary><strong>lint-fix.yml</strong><dd><code>Fix inline comment spacing in lint-fix workflow</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> .forgejo/workflows/lint-fix.yml <ul><li>Adjusted spacing around inline comment in schedule cron definition<br> <li> No functional logic changes, purely cosmetic formatting</ul> </details> </td> <td><a href="https://git.kreative-kompas.com/khyretos/voice-translator/src/branch/lint-fix/yaml_prettier/.forgejo/workflows/lint-fix.yml">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>lint.yml</strong><dd><code>Clean up trailing spaces and add comments in lint workflow</code></dd></summary> <hr> .forgejo/workflows/lint.yml <ul><li>Removed trailing whitespace from DISABLE_ERRORS and JSON_REPORTER <br>lines<br> <li> Added inline comments to clarify configuration purpose</ul> </details> </td> <td><a href="https://git.kreative-kompas.com/khyretos/voice-translator/src/branch/lint-fix/yaml_prettier/.forgejo/workflows/lint.yml">+2/-2</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> </details> ___
Author
Collaborator

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🔒 No security concerns identified
⚡ No major issues detected
## PR Reviewer Guide 🔍 <!-- pr-agent:review:full --> Here are some key observations to aid the review process: <table> <tr><td>🔒&nbsp;<strong>No security concerns identified</strong></td></tr> <tr><td>⚡&nbsp;<strong>No major issues detected</strong></td></tr> </table>

🧹 Lint report · ❌ 43 problems in 7 checks

Nothing here blocks the merge (report only).

Check Errors Warnings Files
❌ REPOSITORY · grype 17 0 –
❌ PYTHON · bandit 14 0 28
❌ MARKDOWN · markdownlint 5 0 13
❌ PYTHON · ruff 4 0 28
❌ BASH · shellcheck 1 0 4
❌ DOCKERFILE · hadolint 1 0 1
❌ REPOSITORY · trivy 1 0 –
REPOSITORY · grype: first lines of the output
See documentation on https://megalinter.io/9.4.0/descriptors/repository_grype/
-----------------------------------------------
❌ [ERROR] for workspace /workspace/khyretos/voice-translator
Linter raw log:
[0000]  WARN no explicit name and version provided for directory source, deriving artifact ID from the given path (which is not ideal) from=syft
NAME    INSTALLED  FIXED IN  TYPE  VULNERABILITY        SEVERITY  EPSS         RISK   
tar     6.2.1      7.5.19    npm   GHSA-23hp-3jrh-7fpw  Critical  0.6% (48th)  0.5    
tar     6.2.1      7.5.7     npm   GHSA-34x7-hfp2-rc4v  High      0.6% (49th)  0.5    
tar     6.2.1      7.5.10    npm   GHSA-qffp-2rhf-9h96  High      0.5% (43rd)  0.4    
tar     6.2.1      7.5.21    npm   GHSA-r292-9mhp-454m  High      0.5% (45th)  0.4    
tar     6.2.1      7.5.18    npm   GHSA-8x88-c5mf-7j5w  High      0.4% (37th)  0.3    
tar     6.2.1      7.5.18    npm   GHSA-w8wr-v893-vjvp  Medium    0.6% (51st)  0.3    
tar     6.2.1      7.5.3     npm   GHSA-8qq5-rm4j-mr97  High      0.4% (31st)  0.3    
undici  6.28.1     6.29.1    npm   GHSA-xjj6-f33q-929c  High      0.3% (28th)  0.3    
tar     6.2.1      7.5.8     npm   GHSA-83g3-92jg-28cx  High      0.3% (26th)  0.2    
tar     6.2.1      7.5.11    npm   GHSA-9ppj-qmqm-q256  High      0.3% (21st)  0.2    
tar     6.2.1      7.5.4     npm   GHSA-r6q2-hw4h-h46w  High      0.3% (18th)  0.2    
tar     6.2.1      7.5.17    npm   GHSA-gvwx-54wh-qm9j  Medium    0.4% (29th)  0.2    
undici  6.28.1     6.29.1    npm   GHSA-4qv8-2p9j-2685  Medium    0.3% (25th)  0.2    
undici  6.28.1     6.29.1    npm   GHSA-9fm3-97px-rjf6  Medium    0.3% (25th)  0.2    
undici  6.28.1     6.29.1    npm   GHSA-qrxm-fqhp-jwvm  High      0.2% (8th)   0.1    
undici  6.28.1     6.29.1    npm   GHSA-2m5v-pch6-74hx  High      0.2% (8th)   0.1    
tar     6.2.1      7.5.16    npm   GHSA-vmf3-w455-68vh  Medium    0.2% (4th)   < 0.1
[0043] ERROR discovered vulnerabilities at or above the severity threshold
PYTHON · bandit: first lines of the output
See documentation on https://megalinter.io/9.4.0/descriptors/python_bandit/
-----------------------------------------------
❌ [ERROR] for workspace /workspace/khyretos/voice-translator
Linter raw log:
Run started:2026-11-09 11:06:10.535569+00:00
Test results:
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   CWE: CWE-22 (https://cwe.mitre.org/data/definitions/22.html)
   More Info: https://bandit.readthedocs.io/en/1.9.4/blacklists/blacklist_calls.html#b310-urllib-urlopen
   Location: ./docs/qwen-situations/VT2/corrected-download_vosk_models.py:44:13
43	    try:
44	        with urllib.request.urlopen(MODEL_LIST_URL, timeout=15) as resp:
45	            return json.load(resp)
--------------------------------------------------
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   CWE: CWE-22 (https://cwe.mitre.org/data/definitions/22.html)
   More Info: https://bandit.readthedocs.io/en/1.9.4/blacklists/blacklist_calls.html#b310-urllib-urlopen
   Location: ./docs/qwen-situations/VT2/corrected-download_vosk_models.py:116:8
115	        print(f"   URL: {url}")
116	        urllib.request.urlretrieve(url, archive_path, show_progress)
117	        print()  # newline after progress bar
--------------------------------------------------
>> Issue: [B202:tarfile_unsafe_members] tarfile.extractall used without any validation. Please check and discard dangerous members.
…
MARKDOWN · markdownlint: first lines of the output
See documentation on https://megalinter.io/9.4.0/descriptors/markdown_markdownlint/
-----------------------------------------------
❌ [ERROR] for workspace /workspace/khyretos/voice-translator
Linter raw log:
AI_TRANSLATION.md:94 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Whisper recognition/translatio..."]
AI_TRANSLATION.md:122 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Vosk model sharing across sess..."]
README.md:5 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "🎤 Voice Translator - Real-tim..."]
README.md:61 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h3; Actual: h4]
REFACTOR.md:14 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
PYTHON · ruff: first lines of the output
See documentation on https://megalinter.io/9.4.0/descriptors/python_ruff/
-----------------------------------------------
❌ [ERROR] for workspace /workspace/khyretos/voice-translator
Linter raw log:
F841 Local variable `display_html` is assigned to but never used
    --> voice_translator.py:3389:17
     |
3388 |                 # Filled in by the page's JS polling (/display_data), not by Gradio.
3389 |                 display_html = gr.HTML(
     |                 ^^^^^^^^^^^^
3390 |                     label="Display",
3391 |                     value='<div id="vt-display"><div>Loading...</div></div>',
     |
help: Remove assignment to unused variable `display_html`
F841 Local variable `recognized_output` is assigned to but never used
    --> voice_translator.py:3395:21
     |
3394 |                 with gr.Accordion("Outputs", open=False):
3395 |                     recognized_output = gr.Textbox(
     |                     ^^^^^^^^^^^^^^^^^
3396 |                         label="Recognized",
3397 |                         elem_id="recognized-output-text",
     |
help: Remove assignment to unused variable `recognized_output`
F841 Local variable `translated_output` is assigned to but never used
…
BASH · shellcheck: first lines of the output
See documentation on https://megalinter.io/9.4.0/descriptors/bash_shellcheck/
-----------------------------------------------
❌ [ERROR] for workspace /workspace/khyretos/voice-translator
Linter raw log:
In setup.sh line 41:
source venv/bin/activate
       ^---------------^ SC1091 (info): Not following: venv/bin/activate: openBinaryFile: does not exist (No such file or directory)
For more information:
  https://www.shellcheck.net/wiki/SC1091 -- Not following: venv/bin/activate:...
DOCKERFILE · hadolint: first lines of the output
See documentation on https://megalinter.io/9.4.0/descriptors/dockerfile_hadolint/
-----------------------------------------------
❌ [ERROR] for workspace /workspace/khyretos/voice-translator
Linter raw log:
Dockerfile:13 DL3015 info: Avoid additional packages by specifying `--no-install-recommends`
REPOSITORY · trivy: first lines of the output
See documentation on https://megalinter.io/9.4.0/descriptors/repository_trivy/
-----------------------------------------------
❌ [ERROR] for workspace /workspace/khyretos/voice-translator
Linter raw log:
2026-11-09T11:06:09Z	INFO	[vulndb] Need to update DB
2026-11-09T11:06:09Z	INFO	[vulndb] Downloading vulnerability DB...
2026-11-09T11:06:09Z	INFO	[vulndb] Downloading artifact...	repo="mirror.gcr.io/aquasec/trivy-db:2"
19.62 MiB / 131.09 MiB [-------->___________________________________________________] 14.96% ? p/s ?36.71 MiB / 131.09 MiB [---------------->___________________________________________] 28.00% ? p/s ?44.47 MiB / 131.09 MiB [-------------------->_______________________________________] 33.92% ? p/s ?51.98 MiB / 131.09 MiB [------------------>____________________________] 39.65% 53.93 MiB p/s ETA 1s60.19 MiB / 131.09 MiB [--------------------->_________________________] 45.91% 53.93 MiB p/s ETA 1s69.08 MiB / 131.09 MiB [------------------------>______________________] 52.70% 53.93 MiB p/s ETA 1s76.51 MiB / 131.09 MiB [--------------------------->___________________] 58.36% 53.09 MiB p/s ETA 1s84.00 MiB / 131.09 MiB [------------------------------>________________] 64.07% 53.09 MiB p/s ETA 0s91.57 MiB / 131.09 MiB [-------------------------------->______________] 69.85% 53.09 MiB p/s ETA 0s98.99 MiB / 131.09 MiB [----------------------------------->___________] 75.51% 52.08 MiB p/s ETA 0s106.66 MiB / 131.09 MiB [------------------------------------->________] 81.36% 52.08 MiB p/s ETA 0s114.20 MiB / 131.09 MiB [---------------------------------------->_____] 87.12% 52.08 MiB p/s ETA 0s121.76 MiB / 131.09 MiB [------------------------------------------>___] 92.88% 51.17 MiB p/s ETA 0s129.21 MiB / 131.09 MiB [--------------------------------------------->] 98.56% 51.17 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 51.17 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 48.87 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 48.87 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 48.87 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 45.72 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 45.72 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 45.72 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 42.77 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 42.77 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 42.77 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-----------------------------------------------] 100.00% 28.31 MiB p/s 4.8s2026-11-09T11:06:14Z	INFO	[vulndb] Artifact successfully downloaded	repo="mirror.gcr.io/aquasec/trivy-db:2"
2026-11-09T11:06:14Z	INFO	[vuln] Vulnerability scanning is enabled
2026-11-09T11:06:14Z	INFO	[misconfig] Misconfiguration scanning is enabled
2026-11-09T11:06:14Z	INFO	[checks-client] Need to update the checks bundle
2026-11-09T11:06:14Z	INFO	[checks-client] Downloading the checks bundle...
234.57 KiB / 234.57 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2026-11-09T11:06:15Z	WARN	[rego] Module will be skipped as current version of Trivy is older than minimum trivy version required - please update Trivy to use this module	file_path="root/.cache/trivy/policy/content/policies/cloud/policies/aws/cloudfront/enable_logging.rego" minimum_trivy_version="0.72.0"
2026-11-09T11:06:15Z	INFO	[npm] To collect the license information of packages, "npm install" needs to be performed beforehand	dir="discord_bridge/node_modules"
2026-11-09T11:06:15Z	INFO	Number of language-specific files	num=1
2026-11-09T11:06:15Z	INFO	[npm] Detecting vulnerabilities...
2026-11-09T11:06:15Z	INFO	Detected config files	num=1
Report Summary
┌──────────────────────────────────┬────────────┬─────────────────┬───────────────────┐
│              Target              │    Type    │ Vulnerabilities │ Misconfigurations │
├──────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ discord_bridge/package-lock.json │    npm     │       17        │         -         │
├──────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ Dockerfile                       │ dockerfile │        -        │         3         │
└──────────────────────────────────┴────────────┴─────────────────┴───────────────────┘
…

✅ Clean: black, git_diff, gitleaks, isort, jsonlint, prettier, prettier, secretlint, shfmt, trufflehog, yamllint

MegaLinter on soucouyant · full logs in the Actions run · comment /improve for AI fix suggestions

<!-- kk-lint --> ## 🧹 Lint report · ❌ 43 problems in 7 checks Nothing here blocks the merge (report only). | | Check | Errors | Warnings | Files | |---|---|---:|---:|---:| | ❌ | REPOSITORY · grype | 17 | 0 | – | | ❌ | PYTHON · bandit | 14 | 0 | 28 | | ❌ | MARKDOWN · markdownlint | 5 | 0 | 13 | | ❌ | PYTHON · ruff | 4 | 0 | 28 | | ❌ | BASH · shellcheck | 1 | 0 | 4 | | ❌ | DOCKERFILE · hadolint | 1 | 0 | 1 | | ❌ | REPOSITORY · trivy | 1 | 0 | – | <details><summary>REPOSITORY · grype: first lines of the output</summary> ```text See documentation on https://megalinter.io/9.4.0/descriptors/repository_grype/ ----------------------------------------------- ❌ [ERROR] for workspace /workspace/khyretos/voice-translator Linter raw log: [0000] WARN no explicit name and version provided for directory source, deriving artifact ID from the given path (which is not ideal) from=syft NAME INSTALLED FIXED IN TYPE VULNERABILITY SEVERITY EPSS RISK tar 6.2.1 7.5.19 npm GHSA-23hp-3jrh-7fpw Critical 0.6% (48th) 0.5 tar 6.2.1 7.5.7 npm GHSA-34x7-hfp2-rc4v High 0.6% (49th) 0.5 tar 6.2.1 7.5.10 npm GHSA-qffp-2rhf-9h96 High 0.5% (43rd) 0.4 tar 6.2.1 7.5.21 npm GHSA-r292-9mhp-454m High 0.5% (45th) 0.4 tar 6.2.1 7.5.18 npm GHSA-8x88-c5mf-7j5w High 0.4% (37th) 0.3 tar 6.2.1 7.5.18 npm GHSA-w8wr-v893-vjvp Medium 0.6% (51st) 0.3 tar 6.2.1 7.5.3 npm GHSA-8qq5-rm4j-mr97 High 0.4% (31st) 0.3 undici 6.28.1 6.29.1 npm GHSA-xjj6-f33q-929c High 0.3% (28th) 0.3 tar 6.2.1 7.5.8 npm GHSA-83g3-92jg-28cx High 0.3% (26th) 0.2 tar 6.2.1 7.5.11 npm GHSA-9ppj-qmqm-q256 High 0.3% (21st) 0.2 tar 6.2.1 7.5.4 npm GHSA-r6q2-hw4h-h46w High 0.3% (18th) 0.2 tar 6.2.1 7.5.17 npm GHSA-gvwx-54wh-qm9j Medium 0.4% (29th) 0.2 undici 6.28.1 6.29.1 npm GHSA-4qv8-2p9j-2685 Medium 0.3% (25th) 0.2 undici 6.28.1 6.29.1 npm GHSA-9fm3-97px-rjf6 Medium 0.3% (25th) 0.2 undici 6.28.1 6.29.1 npm GHSA-qrxm-fqhp-jwvm High 0.2% (8th) 0.1 undici 6.28.1 6.29.1 npm GHSA-2m5v-pch6-74hx High 0.2% (8th) 0.1 tar 6.2.1 7.5.16 npm GHSA-vmf3-w455-68vh Medium 0.2% (4th) < 0.1 [0043] ERROR discovered vulnerabilities at or above the severity threshold ``` </details> <details><summary>PYTHON · bandit: first lines of the output</summary> ```text See documentation on https://megalinter.io/9.4.0/descriptors/python_bandit/ ----------------------------------------------- ❌ [ERROR] for workspace /workspace/khyretos/voice-translator Linter raw log: Run started:2026-11-09 11:06:10.535569+00:00 Test results: >> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected. Severity: Medium Confidence: High CWE: CWE-22 (https://cwe.mitre.org/data/definitions/22.html) More Info: https://bandit.readthedocs.io/en/1.9.4/blacklists/blacklist_calls.html#b310-urllib-urlopen Location: ./docs/qwen-situations/VT2/corrected-download_vosk_models.py:44:13 43 try: 44 with urllib.request.urlopen(MODEL_LIST_URL, timeout=15) as resp: 45 return json.load(resp) -------------------------------------------------- >> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected. Severity: Medium Confidence: High CWE: CWE-22 (https://cwe.mitre.org/data/definitions/22.html) More Info: https://bandit.readthedocs.io/en/1.9.4/blacklists/blacklist_calls.html#b310-urllib-urlopen Location: ./docs/qwen-situations/VT2/corrected-download_vosk_models.py:116:8 115 print(f" URL: {url}") 116 urllib.request.urlretrieve(url, archive_path, show_progress) 117 print() # newline after progress bar -------------------------------------------------- >> Issue: [B202:tarfile_unsafe_members] tarfile.extractall used without any validation. Please check and discard dangerous members. … ``` </details> <details><summary>MARKDOWN · markdownlint: first lines of the output</summary> ```text See documentation on https://megalinter.io/9.4.0/descriptors/markdown_markdownlint/ ----------------------------------------------- ❌ [ERROR] for workspace /workspace/khyretos/voice-translator Linter raw log: AI_TRANSLATION.md:94 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Whisper recognition/translatio..."] AI_TRANSLATION.md:122 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "Vosk model sharing across sess..."] README.md:5 error MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "🎤 Voice Translator - Real-tim..."] README.md:61 error MD001/heading-increment Heading levels should only increment by one level at a time [Expected: h3; Actual: h4] REFACTOR.md:14 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] ``` </details> <details><summary>PYTHON · ruff: first lines of the output</summary> ```text See documentation on https://megalinter.io/9.4.0/descriptors/python_ruff/ ----------------------------------------------- ❌ [ERROR] for workspace /workspace/khyretos/voice-translator Linter raw log: F841 Local variable `display_html` is assigned to but never used --> voice_translator.py:3389:17 | 3388 | # Filled in by the page's JS polling (/display_data), not by Gradio. 3389 | display_html = gr.HTML( | ^^^^^^^^^^^^ 3390 | label="Display", 3391 | value='<div id="vt-display"><div>Loading...</div></div>', | help: Remove assignment to unused variable `display_html` F841 Local variable `recognized_output` is assigned to but never used --> voice_translator.py:3395:21 | 3394 | with gr.Accordion("Outputs", open=False): 3395 | recognized_output = gr.Textbox( | ^^^^^^^^^^^^^^^^^ 3396 | label="Recognized", 3397 | elem_id="recognized-output-text", | help: Remove assignment to unused variable `recognized_output` F841 Local variable `translated_output` is assigned to but never used … ``` </details> <details><summary>BASH · shellcheck: first lines of the output</summary> ```text See documentation on https://megalinter.io/9.4.0/descriptors/bash_shellcheck/ ----------------------------------------------- ❌ [ERROR] for workspace /workspace/khyretos/voice-translator Linter raw log: In setup.sh line 41: source venv/bin/activate ^---------------^ SC1091 (info): Not following: venv/bin/activate: openBinaryFile: does not exist (No such file or directory) For more information: https://www.shellcheck.net/wiki/SC1091 -- Not following: venv/bin/activate:... ``` </details> <details><summary>DOCKERFILE · hadolint: first lines of the output</summary> ```text See documentation on https://megalinter.io/9.4.0/descriptors/dockerfile_hadolint/ ----------------------------------------------- ❌ [ERROR] for workspace /workspace/khyretos/voice-translator Linter raw log: Dockerfile:13 DL3015 info: Avoid additional packages by specifying `--no-install-recommends` ``` </details> <details><summary>REPOSITORY · trivy: first lines of the output</summary> ```text See documentation on https://megalinter.io/9.4.0/descriptors/repository_trivy/ ----------------------------------------------- ❌ [ERROR] for workspace /workspace/khyretos/voice-translator Linter raw log: 2026-11-09T11:06:09Z INFO [vulndb] Need to update DB 2026-11-09T11:06:09Z INFO [vulndb] Downloading vulnerability DB... 2026-11-09T11:06:09Z INFO [vulndb] Downloading artifact... repo="mirror.gcr.io/aquasec/trivy-db:2" 19.62 MiB / 131.09 MiB [-------->___________________________________________________] 14.96% ? p/s ?36.71 MiB / 131.09 MiB [---------------->___________________________________________] 28.00% ? p/s ?44.47 MiB / 131.09 MiB [-------------------->_______________________________________] 33.92% ? p/s ?51.98 MiB / 131.09 MiB [------------------>____________________________] 39.65% 53.93 MiB p/s ETA 1s60.19 MiB / 131.09 MiB [--------------------->_________________________] 45.91% 53.93 MiB p/s ETA 1s69.08 MiB / 131.09 MiB [------------------------>______________________] 52.70% 53.93 MiB p/s ETA 1s76.51 MiB / 131.09 MiB [--------------------------->___________________] 58.36% 53.09 MiB p/s ETA 1s84.00 MiB / 131.09 MiB [------------------------------>________________] 64.07% 53.09 MiB p/s ETA 0s91.57 MiB / 131.09 MiB [-------------------------------->______________] 69.85% 53.09 MiB p/s ETA 0s98.99 MiB / 131.09 MiB [----------------------------------->___________] 75.51% 52.08 MiB p/s ETA 0s106.66 MiB / 131.09 MiB [------------------------------------->________] 81.36% 52.08 MiB p/s ETA 0s114.20 MiB / 131.09 MiB [---------------------------------------->_____] 87.12% 52.08 MiB p/s ETA 0s121.76 MiB / 131.09 MiB [------------------------------------------>___] 92.88% 51.17 MiB p/s ETA 0s129.21 MiB / 131.09 MiB [--------------------------------------------->] 98.56% 51.17 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 51.17 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 48.87 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 48.87 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 48.87 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 45.72 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 45.72 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 45.72 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 42.77 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 42.77 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-------------------------------------------->] 100.00% 42.77 MiB p/s ETA 0s131.09 MiB / 131.09 MiB [-----------------------------------------------] 100.00% 28.31 MiB p/s 4.8s2026-11-09T11:06:14Z INFO [vulndb] Artifact successfully downloaded repo="mirror.gcr.io/aquasec/trivy-db:2" 2026-11-09T11:06:14Z INFO [vuln] Vulnerability scanning is enabled 2026-11-09T11:06:14Z INFO [misconfig] Misconfiguration scanning is enabled 2026-11-09T11:06:14Z INFO [checks-client] Need to update the checks bundle 2026-11-09T11:06:14Z INFO [checks-client] Downloading the checks bundle... 234.57 KiB / 234.57 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2026-11-09T11:06:15Z WARN [rego] Module will be skipped as current version of Trivy is older than minimum trivy version required - please update Trivy to use this module file_path="root/.cache/trivy/policy/content/policies/cloud/policies/aws/cloudfront/enable_logging.rego" minimum_trivy_version="0.72.0" 2026-11-09T11:06:15Z INFO [npm] To collect the license information of packages, "npm install" needs to be performed beforehand dir="discord_bridge/node_modules" 2026-11-09T11:06:15Z INFO Number of language-specific files num=1 2026-11-09T11:06:15Z INFO [npm] Detecting vulnerabilities... 2026-11-09T11:06:15Z INFO Detected config files num=1 Report Summary ┌──────────────────────────────────┬────────────┬─────────────────┬───────────────────┐ │ Target │ Type │ Vulnerabilities │ Misconfigurations │ ├──────────────────────────────────┼────────────┼─────────────────┼───────────────────┤ │ discord_bridge/package-lock.json │ npm │ 17 │ - │ ├──────────────────────────────────┼────────────┼─────────────────┼───────────────────┤ │ Dockerfile │ dockerfile │ - │ 3 │ └──────────────────────────────────┴────────────┴─────────────────┴───────────────────┘ … ``` </details> ✅ Clean: black, git_diff, gitleaks, isort, jsonlint, prettier, prettier, secretlint, shfmt, trufflehog, yamllint <sub>MegaLinter on soucouyant · full logs in the Actions run · comment <code>/improve</code> for AI fix suggestions</sub>
Sign in to join this conversation.
No description provided.