Skip to content

Commit c0b68ed

Browse files
sigma67madebr
authored andcommitted
remove typing extensions
1 parent 067fd06 commit c0b68ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/.venv
66
*.egg-info
77
*.py[co]
8+
.idea

Diff for: cmake_file_api/kinds/api.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from pathlib import Path
22
from typing import Protocol
3-
from typing_extensions import Self
43

54
from .kind import ObjectKind
65
from .cache.api import CACHE_API
@@ -14,7 +13,7 @@ class CMakeApiType(Protocol):
1413
KIND: ObjectKind
1514

1615
@classmethod
17-
def from_path(cls, path: Path, reply_path: Path) -> Self:
16+
def from_path(cls, path: Path, reply_path: Path) -> "CMakeApiType":
1817
...
1918

2019
OBJECT_KINDS_API: dict[ObjectKind, dict[int, CMakeApiType]] = {

0 commit comments

Comments
 (0)