aboutsummaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-01-31 03:36:45 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-01-31 03:36:45 +0100
commitaa962c545496fc645d3f78370d7190ae1f3db11e (patch)
treecadd291fcf24ec6fe222e2ce204135ce3ea88828 /src/config.py
parent4a4f6b5b01bd6d23c141d51dd9399c36d12d29d9 (diff)
downloadminishell_test-aa962c545496fc645d3f78370d7190ae1f3db11e.tar.gz
minishell_test-aa962c545496fc645d3f78370d7190ae1f3db11e.tar.bz2
minishell_test-aa962c545496fc645d3f78370d7190ae1f3db11e.zip
Fixing type annotation for python3.6 compatibility
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py5
1 files changed, 3 insertions, 2 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# 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`