Skip to content

Commit

Permalink
Ran black
Browse files Browse the repository at this point in the history
  • Loading branch information
anas-yousef committed Feb 15, 2024
1 parent 68e5ea3 commit 62c095d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demisto_sdk/commands/common/hook_validations/readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,9 @@ def check_readme_absolute_image_paths(self, is_pack_readme: bool = False) -> lis
for link in absolute_links:
error_message: str = ""
error_code: str = ""
img_url = (
link[1].strip()
) # striping in case there are whitespaces at the beginning/ending of url.
img_url = link[
1
].strip() # striping in case there are whitespaces at the beginning/ending of url.
try:
# a link that contains a branch name (other than master) is invalid since the branch will be deleted
# after merge to master. in the url path (after '.com'), the third element should be the branch name.
Expand Down

0 comments on commit 62c095d

Please sign in to comment.