Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 2, 2024
1 parent ec50d5e commit af73d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piptools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def parse_config_file(

# TODO: Replace with `str.removeprefix()` once dropped 3.8
assert click_context.command.name is not None
config_section_name = click_context.command.name[len("pip-"):]
config_section_name = click_context.command.name[len("pip-") :]

piptools_config.update(piptools_config.pop(config_section_name, {}))
piptools_config.pop("compile", {})
Expand Down

0 comments on commit af73d2a

Please sign in to comment.