From 183667a7f907f6d2ebc6abda4bbd774829ddffda Mon Sep 17 00:00:00 2001 From: totallylegit Date: Mon, 4 Jun 2018 20:39:27 +0200 Subject: Improve a bit the typing, again --- libmat2/harmless.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/harmless.py') diff --git a/libmat2/harmless.py b/libmat2/harmless.py index aa00582..a63407f 100644 --- a/libmat2/harmless.py +++ b/libmat2/harmless.py @@ -5,7 +5,7 @@ class HarmlessParser(abstract.AbstractParser): """ This is the parser for filetypes that do not contain metadata. """ mimetypes = {'application/xml', 'text/plain'} - def __init__(self, filename: str): + def __init__(self, filename: str) -> None: super().__init__(filename) self.filename = filename self.output_filename = filename -- cgit v1.3