Skip to content
Snippets Groups Projects
Commit c878bb0e7556 authored by Matt Harbison's avatar Matt Harbison
Browse files

xxx: regenerate stubs with pytype 2023.11.21 and python 3.10.11

This is the current pytype used in the v2.1 CI images, but CI uses some flavor
of Python 3.11.
parent 21ddb83cbaba
No related tags found
No related merge requests found
Pipeline #98709 skipped
# (generated with --quick)
from typing import Type
FsPathT: Type[bytes]
HgPathT: Type[bytes]
UserMsgT: Type[bytes]
# (generated with --quick)
import abc
from typing import Annotated, Callable, List, Optional, Protocol, Set, Type, Union
HgPathT: Type[bytes]
UserMsgT: Type[bytes]
class IMatcher(Protocol):
_files: Annotated[List[bytes], 'property']
_fileset: Annotated[Set[bytes], 'property']
traversedir: Optional[Callable[[bytes], None]]
@abstractmethod
def __call__(self, fn: bytes) -> bool: ...
@abstractmethod
def always(self) -> bool: ...
@abstractmethod
def anypats(self) -> bool: ...
@abstractmethod
def bad(self, f: bytes, msg: Optional[bytes]) -> None: ...
@abstractmethod
def exact(self, f: bytes) -> bool: ...
@abstractmethod
def files(self) -> List[bytes]: ...
@abstractmethod
def isexact(self) -> bool: ...
@abstractmethod
def matchfn(self, f: bytes) -> bool: ...
@abstractmethod
def prefix(self) -> bool: ...
@abstractmethod
def visitchildrenset(self, dir: bytes) -> Union[bytes, Set[bytes]]: ...
@abstractmethod
def visitdir(self, dir: bytes) -> Union[bool, bytes]: ...
@abstractmethod
def was_tampered_with(self) -> bool: ...
@abstractmethod
def was_tampered_with_nonrec(self) -> bool: ...
# (generated with --quick)
from mercurial.interfaces import _basetypes, matcher
from typing import Type
FsPathT: Type[bytes]
HgPathT: Type[bytes]
MatcherT: Type[matcher.IMatcher]
UserMsgT: Type[bytes]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment