Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ google-auth<3,>=2
screeninfo
uiautomation
dashscope
groq
groq
aiohttp>=3.13.3 # not directly required, pinned by Snyk to avoid a vulnerability

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The comment provided by Snyk is slightly misleading. aiohttp is a transitive dependency of gradio and dashscope, which are present in your requirements.txt. Pinning it here is the correct approach to enforce a secure version. For better clarity and future maintenance, I suggest updating the comment to reflect this.

Additionally, this file is missing a newline at the end. It's a good practice and a PEP 8 recommendation to end text files with a newline character to prevent issues with some tools and to produce cleaner diffs.

aiohttp>=3.13.3 # Pinned by Snyk to resolve security vulnerabilities; transitive dependency of gradio, dashscope

References
  1. PEP 8, the style guide for Python code, recommends that all files should end with a single newline character. This helps avoid issues with file concatenation and some command-line tools. (link)