From aa962c545496fc645d3f78370d7190ae1f3db11e Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 31 Jan 2021 03:36:45 +0100 Subject: Fixing type annotation for python3.6 compatibility --- src/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/config.py') diff --git a/src/config.py b/src/config.py index 95600c6..075f2be 100644 --- a/src/config.py +++ b/src/config.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:19 by charles #+# #+# # -# Updated: 2021/01/31 01:59:00 by charles ### ########.fr # +# Updated: 2021/01/31 03:29:05 by charles ### ########.fr # # # # ############################################################################ # @@ -17,6 +17,7 @@ import os import shutil import distutils.spawn +from typing import List # run the bonus tests # can be changed with `export MINISHELL_TEST_BONUS=yes` in your shell rc file. @@ -35,7 +36,7 @@ MINISHELL_MAKE = True # has to support the -c option (sh, bash and zsh support it) REFERENCE_PATH = "/bin/bash" # can be changed with `export MINISHELL_TEST_ARGS=--poxix,--otherarg` -REFERENCE_ARGS: list[str] = [] # ["--posix"] +REFERENCE_ARGS: List[str] = [] # ["--posix"] # pager to use with --pager option # can be changed with `export MINISHELL_TEST_PAGER=yourpager` -- cgit