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 Aug 1, 2023
1 parent adb7e4c commit 4b457d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumpversion/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def output_default(value: dict) -> None:
"""Output the value with key=value or just value if there is only one item."""
if len(value) == 1:
print_info(list(value.values())[0])
print_info(next(iter(value.values())))
else:
buffer = StringIO()
pprint(value, stream=buffer) # noqa: T203
Expand Down

0 comments on commit 4b457d0

Please sign in to comment.