From 39fb254e019c920516bb317d4b48a8de7cac850e Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 28 Jan 2023 15:57:20 +0000 Subject: Fix the type annotations --- libmat2/bubblewrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmat2/bubblewrap.py') diff --git a/libmat2/bubblewrap.py b/libmat2/bubblewrap.py index 0e202b9..e59f111 100644 --- a/libmat2/bubblewrap.py +++ b/libmat2/bubblewrap.py @@ -12,7 +12,7 @@ import shutil import subprocess import tempfile import functools -from typing import Optional +from typing import Optional, List __all__ = ['PIPE', 'run', 'CalledProcessError'] @@ -33,7 +33,7 @@ def _get_bwrap_path() -> str: def _get_bwrap_args(tempdir: str, input_filename: str, - output_filename: Optional[str] = None) -> list[str]: + output_filename: Optional[str] = None) -> List[str]: ro_bind_args = [] cwd = os.getcwd() -- cgit v1.3