@@ -958,7 +958,7 @@ def add_file(self, name: str, file: IO[bytes], content_type: str) -> str:
958958 :return: The file name as stored in the SupplementaryFileContainer. Typically, ``name`` or a modified version of
959959 ``name`` to resolve conflicts.
960960 """
961- pass # pragma: no cover
961+ # pragma: no cover
962962
963963 @abc .abstractmethod
964964 def get_content_type (self , name : str ) -> str :
@@ -969,7 +969,7 @@ def get_content_type(self, name: str) -> str:
969969 :return: The file's content_type
970970 :raises KeyError: If no file with this name is stored
971971 """
972- pass # pragma: no cover
972+ # pragma: no cover
973973
974974 @abc .abstractmethod
975975 def get_sha256 (self , name : str ) -> bytes :
@@ -982,7 +982,7 @@ def get_sha256(self, name: str) -> bytes:
982982 :return: The file content's sha256 hash sum
983983 :raises KeyError: If no file with this name is stored
984984 """
985- pass # pragma: no cover
985+ # pragma: no cover
986986
987987 @abc .abstractmethod
988988 def write_file (self , name : str , file : IO [bytes ]) -> None :
@@ -993,28 +993,28 @@ def write_file(self, name: str, file: IO[bytes]) -> None:
993993 :param file: A binary file-like object with write() method to write the file contents into
994994 :raises KeyError: If no file with this name is stored
995995 """
996- pass # pragma: no cover
996+ # pragma: no cover
997997
998998 @abc .abstractmethod
999999 def delete_file (self , name : str ) -> None :
10001000 """
10011001 Deletes a file from this SupplementaryFileContainer given its name.
10021002 """
1003- pass # pragma: no cover
1003+ # pragma: no cover
10041004
10051005 @abc .abstractmethod
10061006 def __contains__ (self , item : str ) -> bool :
10071007 """
10081008 Check if a file with the given name is stored in this SupplementaryFileContainer.
10091009 """
1010- pass # pragma: no cover
1010+ # pragma: no cover
10111011
10121012 @abc .abstractmethod
10131013 def __iter__ (self ) -> Iterator [str ]:
10141014 """
10151015 Return an iterator over all file names stored in this SupplementaryFileContainer.
10161016 """
1017- pass # pragma: no cover
1017+ # pragma: no cover
10181018
10191019
10201020class DictSupplementaryFileContainer (AbstractSupplementaryFileContainer ):
0 commit comments