1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-19 19:10:54 +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

@ -95,7 +95,7 @@ class CollectionPartSync(CollectionPartCache, CollectionPartHistory,
self._storage._makedirs_synced(token_folder)
try:
# Race: Other processes might have created and locked the file.
with self._atomic_write(token_path, "wb") as fo:
with self._atomic_write(token_path, "wb") as fo: # type: ignore # for now, TODO fix for "mypy"
fb = cast(BinaryIO, fo)
pickle.dump(state, fb)
except PermissionError: