From 91ff36505211d3453a3cc81ca97b02e9454dd37a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 18:01:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- conda_build/cli/main_build.py | 6 +++++- tests/cli/test_main_metapackage.py | 1 - tests/cli/test_main_render.py | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/conda_build/cli/main_build.py b/conda_build/cli/main_build.py index 267de15b09..73da5bdec6 100644 --- a/conda_build/cli/main_build.py +++ b/conda_build/cli/main_build.py @@ -15,7 +15,11 @@ from .. import api, build, source, utils from ..conda_interface import add_parser_channels, binstar_upload, cc_conda_build -from ..config import get_channel_urls, get_or_merge_config, zstd_compression_level_default +from ..config import ( + get_channel_urls, + get_or_merge_config, + zstd_compression_level_default, +) from ..deprecations import deprecated from ..utils import LoggingContext from .actions import KeyValueAction diff --git a/tests/cli/test_main_metapackage.py b/tests/cli/test_main_metapackage.py index b11b4560eb..44ec145264 100644 --- a/tests/cli/test_main_metapackage.py +++ b/tests/cli/test_main_metapackage.py @@ -2,7 +2,6 @@ # SPDX-License-Identifier: BSD-3-Clause import json import os -import sys from glob import glob from conda_build.cli import main_metapackage diff --git a/tests/cli/test_main_render.py b/tests/cli/test_main_render.py index 9c423d1b43..10ed9f803e 100644 --- a/tests/cli/test_main_render.py +++ b/tests/cli/test_main_render.py @@ -66,7 +66,9 @@ def test_render_without_channel_fails(tmp_path): ), f"Expected to get only base package name because it should not be found, but got :{required_package_string}" -def test_render_output_build_path(testing_workdir, testing_config, testing_metadata, capfd, caplog): +def test_render_output_build_path( + testing_workdir, testing_config, testing_metadata, capfd, caplog +): api.output_yaml(testing_metadata, "meta.yaml") args = ["--output", testing_workdir] main_render.execute(args)