Skip to content

Commit 8f4bedf

Browse files
committed
Fixed bad type annotation
1 parent a74342b commit 8f4bedf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bumpversion/config/create.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Module for creating a new config file."""
22
from pathlib import Path
3+
from typing import Tuple
34

45
import questionary
56
from tomlkit import TOMLDocument
@@ -48,7 +49,7 @@ def create_configuration(destination: str, prompt: bool) -> TOMLDocument:
4849
return destination_config
4950

5051

51-
def get_defaults_from_dest(destination: str) -> tuple[dict, TOMLDocument]:
52+
def get_defaults_from_dest(destination: str) -> Tuple[dict, TOMLDocument]:
5253
"""Get the default configuration and the configuration from the destination."""
5354
from tomlkit import document, parse
5455

0 commit comments

Comments
 (0)