Skip to content

Commit

Permalink
Update update_dependency.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeCoull authored Nov 24, 2023
1 parent 4ce74ac commit f33ede5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/update_dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
for line in fileinput.input("tox.ini", inplace=True):
# Ensure that tox uses the working branch for the SDK PR.
replaced_line = (
line
if package not in line
else f" git+https://github.com/amazon-braket/{package}-python.git@{args.branch}\n"
line if package not in line else f'"{package} @ file://{path}/{package}-python",\n'
)
print(replaced_line, end="")

0 comments on commit f33ede5

Please sign in to comment.