Skip to content

Commit c15b23b

Browse files
committed
Fixed Py3.8 type annotation
1 parent 4f90348 commit c15b23b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bumpversion/visualize.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Visualize the bumpversion process."""
22
from dataclasses import dataclass
3-
from typing import Optional
3+
from typing import List, Optional
44

55
from bumpversion.bump import get_next_version
66
from bumpversion.config import Config
@@ -92,7 +92,7 @@ def labeled_line(label: str, border: Border, fit_length: Optional[int] = None) -
9292
return f" {label} {border.line * (fit_length - len(label))}{border.line} "
9393

9494

95-
def filter_version_parts(config: Config) -> list[str]:
95+
def filter_version_parts(config: Config) -> List[str]:
9696
"""
9797
Return the version parts that are in the configuration.
9898

0 commit comments

Comments
 (0)