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