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:
parent
76e06ea3fc
commit
cc2e1553d3
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue