From 1b9608aecf25d5e58ee27b9b45afd7f77b883f8b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 3 May 2023 22:28:02 +0200 Subject: Use proper type annotations instead of comments --- libmat2/abstract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmat2/abstract.py') diff --git a/libmat2/abstract.py b/libmat2/abstract.py index 1aff630..c531fbd 100644 --- a/libmat2/abstract.py +++ b/libmat2/abstract.py @@ -9,8 +9,8 @@ class AbstractParser(abc.ABC): It might yield `ValueError` on instantiation on invalid files, and `RuntimeError` when something went wrong in `remove_all`. """ - meta_list = set() # type: Set[str] - mimetypes = set() # type: Set[str] + meta_list: Set[str] = set() + mimetypes: Set[str] = set() def __init__(self, filename: str) -> None: """ -- cgit v1.3