Skip to content

Commit

Permalink
skip .py files from hash checking
Browse files Browse the repository at this point in the history
Signed-off-by: bigcat88 <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed Dec 15, 2024
1 parent cf85047 commit 13c1d0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/ci/models_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ def check_model(model_name: str, model: dict) -> bool:
ERRORS_LIST.append(f"{model_name}: FAILED. Unknown host for URL: {url}")
return False

if str(url).endswith(".py"):
return True

if not model_hash:
ERRORS_LIST.append(f"{model_name}: FAILED. {url} --> can't get the hash")
return False
Expand Down

0 comments on commit 13c1d0a

Please sign in to comment.