From 1b9608aecf25d5e58ee27b9b45afd7f77b883f8b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 3 May 2023 22:28:02 +0200 Subject: Use proper type annotations instead of comments --- libmat2/office.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/office.py') diff --git a/libmat2/office.py b/libmat2/office.py index f0ab404..16b20c9 100644 --- a/libmat2/office.py +++ b/libmat2/office.py @@ -148,7 +148,7 @@ class MSOfficeParser(ZipParser): return False xml_data = zin.read('[Content_Types].xml') - self.content_types = dict() # type: Dict[str, str] + self.content_types: Dict[str, str] = dict() try: tree = ET.fromstring(xml_data) except ET.ParseError: -- cgit v1.3