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

@@ -44,7 +44,7 @@ class CollectionPartUpload(CollectionPartGet, CollectionPartCache,
(href, self.path, e)) from e
path = pathutils.path_to_filesystem(self._filesystem_path, href)
# TODO: better fix for "mypy"
with self._atomic_write(path, newline="") as fo: # type: ignore
with self._atomic_write(path, newline="") as fo: # type: ignore
f = cast(TextIO, fo)
f.write(item.serialize())
# Clean the cache after the actual item is stored, or the cache entry