diff --git a/conda_build/cli/main_build.py b/conda_build/cli/main_build.py index 27139b1607..03dd881ca5 100644 --- a/conda_build/cli/main_build.py +++ b/conda_build/cli/main_build.py @@ -24,7 +24,6 @@ get_or_merge_config, zstd_compression_level_default, ) -from ..deprecations import deprecated from ..utils import LoggingContext from .actions import KeyValueAction, PackageTypeNormalize from .main_render import get_render_parser diff --git a/tests/cli/test_main_build.py b/tests/cli/test_main_build.py index b45d1ef69e..187695b381 100644 --- a/tests/cli/test_main_build.py +++ b/tests/cli/test_main_build.py @@ -142,7 +142,7 @@ def test_slash_in_recipe_arg_keeps_build_id( "--croot", testing_config.croot, "--no-anaconda-upload", - "--package-format=1" + "--package-format=1", ] main_build.execute(args) @@ -311,9 +311,7 @@ def test_no_force_upload( ) # check for normal upload - main_build.execute( - ["--no-force-upload", testing_workdir] - ) + main_build.execute(["--no-force-upload", testing_workdir]) call.assert_called_once_with([anaconda, "upload", *pkg]) call.reset_mock() diff --git a/tests/cli/test_main_inspect.py b/tests/cli/test_main_inspect.py index 25d0eb6801..b60c7c9ec9 100644 --- a/tests/cli/test_main_inspect.py +++ b/tests/cli/test_main_inspect.py @@ -52,7 +52,9 @@ def test_inspect_prefix_length(testing_workdir, capfd): # build our own known-length package here test_base = os.path.expanduser("~/cbtmp") - config = api.Config(croot=test_base, anaconda_upload=False, verbose=True, conda_pkg_format=1) + config = api.Config( + croot=test_base, anaconda_upload=False, verbose=True, conda_pkg_format=1 + ) recipe_path = os.path.join(metadata_dir, "has_prefix_files") config.prefix_length = 80 outputs = api.build(recipe_path, config=config, notest=True) diff --git a/tests/cli/test_main_render.py b/tests/cli/test_main_render.py index c3844714a9..85ef6fd5fa 100644 --- a/tests/cli/test_main_render.py +++ b/tests/cli/test_main_render.py @@ -113,10 +113,8 @@ def test_render_output_build_path_set_python(testing_workdir, testing_metadata, main_render.execute(args) _hash = metadata.hash_dependencies() - test_path = ( - "test_render_output_build_path_set_python-1.0-py{}{}{}_1.conda".format( - version.split(".")[0], version.split(".")[1], _hash - ) + test_path = "test_render_output_build_path_set_python-1.0-py{}{}{}_1.conda".format( + version.split(".")[0], version.split(".")[1], _hash ) output, error = capfd.readouterr() assert os.path.basename(output.rstrip()) == test_path, error diff --git a/tests/test_subpackages.py b/tests/test_subpackages.py index a475ed5617..9f5c9b800e 100644 --- a/tests/test_subpackages.py +++ b/tests/test_subpackages.py @@ -469,9 +469,7 @@ def test_loops_do_not_remove_earlier_packages(testing_config): api.build(recipe, config=testing_config) assert len(output_files) == len( - glob( - os.path.join(testing_config.croot, testing_config.host_subdir, "*.conda") - ) + glob(os.path.join(testing_config.croot, testing_config.host_subdir, "*.conda")) )