Skip to content
Open
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
4 changes: 2 additions & 2 deletions gitopscli/git_api/git_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
from pathlib import Path
from types import TracebackType
from typing import Literal
from typing import Literal, Self

from git import GitCommandError, GitError, Repo

Expand All @@ -18,7 +18,7 @@ def __init__(self, git_repo_api: GitRepoApi) -> None:
self.__repo: Repo | None = None
self.__tmp_dir: str | None = None

def __enter__(self) -> "GitRepo":
def __enter__(self) -> Self:
return self

def __exit__(
Expand Down
Loading