1
0
Fork 0
mirror of synced 2025-07-04 20:37:34 +02:00

Fix some pep8 issues spotted by pyflakes

This commit is contained in:
jvoisin 2018-07-08 22:40:36 +02:00
parent f49aa5cab7
commit 8c21006e6c
6 changed files with 31 additions and 26 deletions

View file

@ -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,