We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc8479e commit df59508Copy full SHA for df59508
commitizen/tags.py
@@ -8,7 +8,11 @@
8
from string import Template
9
from typing import TYPE_CHECKING, NamedTuple
10
11
-from typing_extensions import Self
+# Self is Python 3.11+ but backported in typing-extensions
12
+if sys.version_info < (3, 11):
13
+ from typing_extensions import Self
14
+else:
15
+ from typing import Self
16
17
from commitizen import out
18
from commitizen.defaults import DEFAULT_SETTINGS, Settings, get_tag_regexes
0 commit comments