1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

ignore "mypy" type checks for now

This commit is contained in:
Peter Bieringer 2024-03-02 07:36:14 +01:00
parent 76e06ea3fc
commit cc2e1553d3
5 changed files with 5 additions and 5 deletions

View file

@ -44,7 +44,7 @@ class CollectionBase(storage.BaseCollection):
filesystem_path = pathutils.path_to_filesystem(folder, self.path)
self._filesystem_path = filesystem_path
@types.contextmanager
@types.contextmanager # type: ignore # for now, TODO fix for "mypy"
def _atomic_write(self, path: str, mode: str = "w",
newline: Optional[str] = None) -> Iterator[IO[AnyStr]]:
# TODO: Overload with Literal when dropping support for Python < 3.8