From 1cec348dba62d832af14bfd226532055568a6cbe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 11 Aug 2023 21:34:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/tox/config/loader/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tox/config/loader/api.py b/src/tox/config/loader/api.py index 4d21d348e3..0349216e0a 100644 --- a/src/tox/config/loader/api.py +++ b/src/tox/config/loader/api.py @@ -133,7 +133,8 @@ def load( # noqa: PLR0913 if isinstance(converted, list) and isinstance(appends, list): converted += appends else: - raise ValueError("Only able to append to lists") + msg = "Only able to append to lists" + raise ValueError(msg) return converted def build( # noqa: PLR0913