Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix mypy for retry function
Ironic
  • Loading branch information
emmatyping committed May 19, 2025
commit 255cb80a735ea084ac7df758f0cbce4a62af1951
3 changes: 2 additions & 1 deletion 3 Tools/build/generate_sbom.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import re
import subprocess
import sys
import time
import typing
import urllib.request
import urllib.error
Expand Down Expand Up @@ -162,7 +163,7 @@ def get_externals() -> list[str]:
return externals


def download_with_retries(download_location, retries=5):
def download_with_retries(download_location: str, retries: int = 5):
"""Download a file with exponential backoff retry."""
attempt = 0
while attempt < retries:
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.