File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1818PROJECT_ROOT=" $( git rev-parse --show-toplevel) "
1919
2020# 2. Define standard virtual environment names
21- VENV_NAMES=(" . venv" " venv" )
21+ VENV_NAMES=(" venv" " . venv" )
2222
2323# 3. Locate the virtual environment directory
2424VENV_DIR=" "
Original file line number Diff line number Diff line change @@ -27,3 +27,7 @@ omit = [
2727 " runner.py" ,
2828 " **/__init__.py"
2929]
30+
31+ [[tool .mypy .overrides ]]
32+ module = " ultimatepython.syntax.template_strings"
33+ ignore_errors = true
Original file line number Diff line number Diff line change @@ -27,7 +27,11 @@ def main() -> None:
2727 print (bold_text (f"Start { root_name } runner" ))
2828
2929 for item in walk_packages (root_path , f"{ root_name } ." ):
30- mod = import_module (item .name )
30+ try :
31+ mod = import_module (item .name )
32+ except (ImportError , SyntaxError ) as e :
33+ print (f"{ _RUNNER_PROGRESS } Skip { item .name } : { e } " )
34+ continue
3135
3236 # Skip modules without a main object
3337 if not hasattr (mod , _RUNNER_MAIN ):
You canβt perform that action at this time.
0 commit comments