From 39096c46bac77df3cb3b2da7fd7f7a2acbab6f0c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:46:50 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- piptools/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piptools/utils.py b/piptools/utils.py index 23bfa5a1..f9f099f3 100644 --- a/piptools/utils.py +++ b/piptools/utils.py @@ -726,7 +726,7 @@ def _invert_negative_bool_options_in_config( # Transform config key to its equivalent in the CLI long_option = _convert_to_long_option(key) new_key = cli_opts[long_option].name if long_option in cli_opts else key - if new_key.startswith('no_'): + if new_key.startswith("no_"): new_key = new_key[3:] assert new_key is not None