Initial commit
Co-Authored-By: Quentin Torroba <quentin.torroba@mistral.ai> Co-Authored-By: Laure Hugo <laure.hugo@mistral.ai> Co-Authored-By: Benjamin Trom <benjamin.trom@mistral.ai> Co-Authored-By: Mathias Gesbert <mathias.gesbert@ext.mistral.ai> Co-Authored-By: Michel Thomazo <michel.thomazo@mistral.ai> Co-Authored-By: Clément Drouin <clement.drouin@mistral.ai> Co-Authored-By: Vincent Guilloux <vincent.guilloux@mistral.ai> Co-Authored-By: Valentin Berard <val@mistral.ai> Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
commit
fa15fc977b
200 changed files with 30484 additions and 0 deletions
20
tests/snapshots/snap_compare.py
Normal file
20
tests/snapshots/snap_compare.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Awaitable, Callable, Iterable
|
||||
from pathlib import PurePath
|
||||
from typing import Protocol
|
||||
|
||||
from textual.app import App
|
||||
from textual.pilot import Pilot
|
||||
|
||||
|
||||
class SnapCompare(Protocol):
|
||||
def __call__(
|
||||
self,
|
||||
app: str | PurePath | App,
|
||||
/,
|
||||
*,
|
||||
press: Iterable[str] = ...,
|
||||
terminal_size: tuple[int, int] = ...,
|
||||
run_before: (Callable[[Pilot], Awaitable[None] | None] | None) = ...,
|
||||
) -> bool: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue