Enforce strict Pyright gate
This commit is contained in:
parent
90898cfd63
commit
2841042b9c
16 changed files with 214 additions and 77 deletions
|
|
@ -6,7 +6,7 @@ import fcntl
|
|||
import json
|
||||
import os
|
||||
import tempfile
|
||||
from collections.abc import Iterator
|
||||
from collections.abc import Generator
|
||||
from contextlib import contextmanager
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
|
@ -517,7 +517,7 @@ class ChangesetStore:
|
|||
return root
|
||||
|
||||
@contextmanager
|
||||
def _lock(self) -> Iterator[None]:
|
||||
def _lock(self) -> Generator[None]:
|
||||
root = self._root()
|
||||
lock_path = root / ".lock"
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue