Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ceccopierangiolieugenio committed Nov 21, 2023
1 parent 0ac3476 commit b265441
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ deploySandbox:

git checkout gh-pages
cp tmp/sandbox/*.html sandbox
cp -r tmp/sandbox/js sandbox

git submodule foreach git pull
git add sandbox
Expand Down
12 changes: 9 additions & 3 deletions tools/check.import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ __check(){
-e "log.py:import inspect" \
-e "log.py:import logging" \
-e "log.py:from collections.abc import Callable, Set" \
-e "input.py:import platform" \
-e "input.py:from time import time" \
-e "term.py:import importlib.util" \
-e "term.*.py:import sys, os, signal" \
-e "term.*.py:from .term_base import TTkTermBase" \
Expand All @@ -40,7 +38,14 @@ __check(){
-e "propertyanimation.py:import time, math" \
-e "terminal.py:from select import select" |
grep -v \
-e "TTkTerm/input.py:from ..drivers import TTkInputDriver" \
-e "TTkTerm/input_mono.py:from time import time" \
-e "TTkTerm/input_mono.py:import platform" \
-e "TTkTerm/input_mono.py:from ..drivers import TTkInputDriver" \
-e "TTkTerm/input_thread.py:from time import time" \
-e "TTkTerm/input_thread.py:import threading, queue" \
-e "TTkTerm/input_thread.py:from ..drivers import TTkInputDriver" \
-e "TTkTerm/input.py:from .input_thread import *" |
grep -v \
-e "TTkTerm/term.py:from ..drivers import *" \
-e "drivers/unix_thread.py:import sys, os" \
-e "drivers/unix_thread.py:from select import select" \
Expand Down Expand Up @@ -77,6 +82,7 @@ __check(){
-e "TTkTerminal/terminalhelper.py:from select import select" \
-e "TTkTerminal/__init__.py:import importlib.util" \
-e "TTkTerminal/__init__.py:import platform"

} ;

if __check ; then
Expand Down

0 comments on commit b265441

Please sign in to comment.