mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +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
|
@ -43,7 +43,7 @@ class CollectionPartUpload(CollectionPartGet, CollectionPartCache,
|
|||
raise ValueError("Failed to store item %r in collection %r: %s" %
|
||||
(href, self.path, e)) from e
|
||||
path = pathutils.path_to_filesystem(self._filesystem_path, href)
|
||||
with self._atomic_write(path, newline="") as fo:
|
||||
with self._atomic_write(path, newline="") as fo: # type: ignore # for now, TODO fix for "mypy"
|
||||
f = cast(TextIO, fo)
|
||||
f.write(item.serialize())
|
||||
# Clean the cache after the actual item is stored, or the cache entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue