Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrik committed Feb 3, 2024
1 parent cf490db commit 4768ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commitizen/commands/bump.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def find_previous_final_version(
if not final_versions:
return None

final_versions = sorted(final_versions) # type: ignore [type-var]
final_versions = sorted(final_versions)
current_index = final_versions.index(current_version)
previous_index = current_index - 1
if previous_index < 0:
Expand Down

0 comments on commit 4768ece

Please sign in to comment.