Skip to content

Commit

Permalink
Merge branch 'morosi-fix' into 'master'
Browse files Browse the repository at this point in the history
Fix Git_Cmd typing

See merge request it/e3-core!28
  • Loading branch information
adanaja committed Aug 13, 2024
2 parents 5d7f4e2 + e572b27 commit c35fe3f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/e3/vcs/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,11 @@
from e3.vcs import VCSError

if TYPE_CHECKING:
from typing import (
Any,
Final,
IO,
Literal,
List,
Optional,
TextIO,
)
from typing import Any, Final, IO, Literal, Optional, TextIO, Union
from collections.abc import Iterator
from e3.os.process import Run, DEVNULL_VALUE, PIPE_VALUE

Git_Cmd = List[Optional[str]]
Git_Cmd = Union[list[str], list[Optional[str]]]
GIT_LOG_STREAM_VALUE = Literal[-4]

# Special value to direct outputs to the git log stream
Expand Down

0 comments on commit c35fe3f

Please sign in to comment.