Skip to content
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
Next Next commit
Reformat package.py with ruff before making changes
  • Loading branch information
Amadeusz Żołnowski committed May 20, 2025
commit cc9be0ae3a8293bb5277910158aa71721bf80778
8 changes: 4 additions & 4 deletions package.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ def install_pip_requirements(query, requirements_file, tmp_dir):
ok = True
elif docker_file or docker_build_root:
raise ValueError(
"docker_image must be specified " "for a custom image future references"
"docker_image must be specified for a custom image future references"
)

working_dir = os.getcwd()
Expand All @@ -1108,7 +1108,7 @@ def install_pip_requirements(query, requirements_file, tmp_dir):
elif OSX:
# Workaround for OSX when XCode command line tools'
# python becomes the main system python interpreter
os_path = "{}:/Library/Developer/CommandLineTools" "/usr/bin".format(
os_path = "{}:/Library/Developer/CommandLineTools/usr/bin".format(
os.environ["PATH"]
)
subproc_env = os.environ.copy()
Expand Down Expand Up @@ -1390,7 +1390,7 @@ def install_npm_requirements(query, requirements_file, tmp_dir):
ok = True
elif docker_file or docker_build_root:
raise ValueError(
"docker_image must be specified " "for a custom image future references"
"docker_image must be specified for a custom image future references"
)

log.info("Installing npm requirements: %s", requirements_file)
Expand Down Expand Up @@ -1649,7 +1649,7 @@ def prepare_command(args):
timestamp = timestamp_now_ns()
was_missing = True
else:
timestamp = "<WARNING: Missing lambda zip artifacts " "wouldn't be restored>"
timestamp = "<WARNING: Missing lambda zip artifacts wouldn't be restored>"

# Replace variables in the build command with calculated values.
build_data = {
Expand Down