Skip to content

Commit 4b457d0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent adb7e4c commit 4b457d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bumpversion/show.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
def output_default(value: dict) -> None:
1515
"""Output the value with key=value or just value if there is only one item."""
1616
if len(value) == 1:
17-
print_info(list(value.values())[0])
17+
print_info(next(iter(value.values())))
1818
else:
1919
buffer = StringIO()
2020
pprint(value, stream=buffer) # noqa: T203

0 commit comments

Comments
 (0)