Skip to content

Commit 9f439e9

Browse files
committed
fix: Shorten noqa comment for urlopen security warning
1 parent 973bb0f commit 9f439e9

File tree

1 file changed

+1
-1
lines changed
  • src/datapilot/core/knowledge

1 file changed

+1
-1
lines changed

src/datapilot/core/knowledge/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def handle_knowledge_base(self, public_id):
6767
req = Request(url, headers=headers)
6868

6969
try:
70-
with urlopen(req, timeout=30) as response: # noqa: S310 - URL scheme already validated above
70+
with urlopen(req, timeout=30) as response: # noqa: S310
7171
data = response.read()
7272
self.send_response(200)
7373
self.send_header("Content-Type", "application/json")

0 commit comments

Comments
 (0)