Skip to content
Snippets Groups Projects
Commit 846a2614 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Fix some linter warnings

parent 09e748fa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment