Skip to content

Commit ddfd3bf

Browse files
committed
Fixed type issue in Python 3.7, 3.8
1 parent a9b6db3 commit ddfd3bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bumpversion/cli.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""bump-my-version Command line interface."""
22
import logging
3-
from typing import Optional
3+
from typing import List, Optional
44

55
import rich_click as click
66

@@ -173,7 +173,7 @@ def cli(
173173
current_version: Optional[str],
174174
new_version: Optional[str],
175175
parse: Optional[str],
176-
serialize: Optional[list[str]],
176+
serialize: Optional[List[str]],
177177
search: Optional[str],
178178
replace: Optional[str],
179179
no_configured_files: bool,

0 commit comments

Comments
 (0)