From d412462f894faf0d3d9a0474b2ee57466ec36d4f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 19:15:56 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_config.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index ab595c4..93b442c 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -227,10 +227,7 @@ def test_parse_valid_config( if "dependencies" in config: config["dependencies"] = list(map(str, config["dependencies"])) if "optional-dependencies" in config: - config["optional-dependencies"] = { - k: list(map(str, v)) - for k, v in config["optional-dependencies"].items() - } + config["optional-dependencies"] = {k: list(map(str, v)) for k, v in config["optional-dependencies"].items()} check_config(config, advanced_data_regression) @@ -300,10 +297,7 @@ def test_pep621_class_valid_config( if "dependencies" in config: config["dependencies"] = list(map(str, config["dependencies"])) if "optional-dependencies" in config: - config["optional-dependencies"] = { - k: list(map(str, v)) - for k, v in config["optional-dependencies"].items() - } + config["optional-dependencies"] = {k: list(map(str, v)) for k, v in config["optional-dependencies"].items()} if "requires-python" in config and config["requires-python"] is not None: config["requires-python"] = str(config["requires-python"])