Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/.venv
*.egg-info
*.py[co]
.idea
3 changes: 1 addition & 2 deletions cmake_file_api/kinds/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from pathlib import Path
from typing import Protocol
from typing_extensions import Self

from .kind import ObjectKind
from .cache.api import CACHE_API
Expand All @@ -14,7 +13,7 @@ class CMakeApiType(Protocol):
KIND: ObjectKind

@classmethod
def from_path(cls, path: Path, reply_path: Path) -> Self:
def from_path(cls, path: Path, reply_path: Path) -> "CMakeApiType":
...

OBJECT_KINDS_API: dict[ObjectKind, dict[int, CMakeApiType]] = {
Expand Down