From e98e96dcf380c9ecd944e4e1adf6ac2ef79e34f0 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Fri, 26 Jan 2024 07:18:58 +0100 Subject: [PATCH] Apply style suggestions from code review Co-authored-by: Ken Odegard --- conda_build/render.py | 2 +- conda_build/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conda_build/render.py b/conda_build/render.py index ea1c9074ab..c75838a65b 100644 --- a/conda_build/render.py +++ b/conda_build/render.py @@ -342,7 +342,7 @@ def execute_download_actions(m, actions, env, package_subset=None, require_files # this should be just downloading packages. We don't need to extract them - - # NOTE: The following out-commented execute_actions was defunct + # NOTE: The following commented execute_actions is defunct # (FETCH/EXTRACT were replaced by PROGRESSIVEFETCHEXTRACT). # # download_actions = { diff --git a/conda_build/utils.py b/conda_build/utils.py index 03a322caea..b1cd33608f 100644 --- a/conda_build/utils.py +++ b/conda_build/utils.py @@ -2199,4 +2199,4 @@ def samefile(path1: Path, path2: Path) -> bool: def package_record_to_requirement(prec: PackageRecord) -> str: - return " ".join((prec.name, prec.version, prec.build)).rstrip() + return f"{prec.name} {prec.version} {prec.build}".rstrip()