diff --git a/scripts/python-tools.sh b/scripts/python-tools.sh index 47ba373d..543571fe 100644 --- a/scripts/python-tools.sh +++ b/scripts/python-tools.sh @@ -27,7 +27,7 @@ cmd_create_init() echo "# >> $del >>" echo "from pkgutil import extend_path" echo "from typing import Iterable" - echo "__path__ = extend_path(__path__, __name__) # type: Iterable[str]" + echo "__path__ = extend_path(__path__, __name__) # type: ignore" # was "type Iterable[str]" files="$*" for f in $files; do test -d $f && continue