From 8c21006e6c2959a55ce8cb80758564eeea2ebde8 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 8 Jul 2018 22:40:36 +0200 Subject: Fix some pep8 issues spotted by pyflakes --- libmat2/images.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libmat2/images.py') diff --git a/libmat2/images.py b/libmat2/images.py index 311186d..f9171e5 100644 --- a/libmat2/images.py +++ b/libmat2/images.py @@ -5,6 +5,7 @@ import os import shutil import tempfile import re +from typing import Set import cairo @@ -14,8 +15,12 @@ from gi.repository import GdkPixbuf from . import abstract +# Make pyflakes happy +assert Set class _ImageParser(abstract.AbstractParser): + meta_whitelist = set() # type: Set[str] + @staticmethod def __handle_problematic_filename(filename: str, callback) -> str: """ This method takes a filename with a problematic name, -- cgit v1.3