1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

fix fo E261 at least two spaces before inline comment

This commit is contained in:
Peter Bieringer 2024-03-02 07:47:23 +01:00
parent 551b5c2272
commit 913635a17e
5 changed files with 5 additions and 5 deletions

View file

@ -87,7 +87,7 @@ class CollectionPartCache(CollectionBase):
self._storage._makedirs_synced(cache_folder)
# Race: Other processes might have created and locked the file.
# TODO: better fix for "mypy"
with contextlib.suppress(PermissionError), self._atomic_write( # type: ignore
with contextlib.suppress(PermissionError), self._atomic_write( # type: ignore
os.path.join(cache_folder, href), "wb") as fo:
fb = cast(BinaryIO, fo)
pickle.dump((cache_hash, *content), fb)