Skip to content

Commit

Permalink
lint!
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Oct 3, 2023
1 parent 583873c commit 7dcabcb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runners/s3-benchrunner-c/scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def fetch_dep(work_dir: Path, dep_name: str, branch: str) -> Path:
dep_dir = work_dir.joinpath(dep_name)

root = Path(__file__).parent.parent.parent.parent
run([sys.executable, root.joinpath('scripts/fetch-git-repo.py'),
run([sys.executable, str(root.joinpath('scripts/fetch-git-repo.py')),
'--repo', f'https://github.com/awslabs/{dep_name}.git',
'--preferred-branch', branch,
'--dir', str(dep_dir)])
Expand Down
4 changes: 2 additions & 2 deletions runners/s3-benchrunner-cli/scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def run(cmd_args: list[str]):
def fetch_git_repo(url: str, dir: Path, main_branch: str, preferred_branch: Optional[str]):
# use helper script
root = Path(__file__).parent.parent.parent.parent
fetch_cmd = [sys.executable, root.joinpath('scripts/fetch-git-repo.py'),
fetch_cmd = [sys.executable, str(root.joinpath('scripts/fetch-git-repo.py')),
'--repo', url,
'--main-branch', main_branch,
'--dir', str(dir)]
Expand Down Expand Up @@ -90,5 +90,5 @@ def build_crt(work_dir: Path, branch: Optional[str], venv_python: str):

# finally, print command for executing the runner, using the virtual environment
print("------ RUNNER_CMD ------")
runner_cmd = [venv_python, runner_dir.joinpath('benchrunner.py')]
runner_cmd = [venv_python, str(runner_dir.joinpath('benchrunner.py'))]
print(subprocess.list2cmdline(runner_cmd))
2 changes: 1 addition & 1 deletion runners/s3-benchrunner-crt-java/scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def build_aws_crt_java(work_dir: Path, branch: str):
awscrt_src = work_dir.joinpath('aws-crt-java')

root = Path(__file__).parent.parent.parent.parent
run([sys.executable, root.joinpath('scripts/fetch-git-repo.py'),
run([sys.executable, str(root.joinpath('scripts/fetch-git-repo.py')),
'--repo', 'https://github.com/awslabs/aws-crt-java.git',
'--preferred-branch', branch,
'--dir', str(awscrt_src)])
Expand Down

0 comments on commit 7dcabcb

Please sign in to comment.