From 846a261465a95a594e9bfc5398cf09fd5deb437f Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Thu, 21 Jun 2018 23:07:21 +0200
Subject: [PATCH] Fix some linter warnings

---
 libmat2/office.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/libmat2/office.py b/libmat2/office.py
index fd3cdf4..a5a49cf 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -8,10 +8,13 @@ from typing import Dict, Set, Pattern
 
 from . import abstract, parser_factory
 
+# Make pyflakes happy
+assert Set
+assert Pattern
 
 class ArchiveBasedAbstractParser(abstract.AbstractParser):
-    files_to_keep : Set[str] = set()
-    files_to_omit : Set[Pattern] = set()
+    files_to_keep = set()  # type: Set[str] 
+    files_to_omit = set() # type: Set[Pattern] 
 
     def _clean_zipinfo(self, zipinfo: zipfile.ZipInfo) -> zipfile.ZipInfo:
         zipinfo.create_system = 3  # Linux
-- 
GitLab