diff --git a/Makefile b/Makefile index f2a4199b..1b4a8451 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,7 @@ deployTest: .venv python3 -m twine upload --repository testpypi tmp/dist/* --verbose test: .venv + tools/check.import.sh . .venv/bin/activate ; \ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude .venv,build,tmp ; \ pytest demo/demo.py diff --git a/tools/check.import.sh b/tools/check.import.sh index 8fdd1923..5a5a5906 100755 --- a/tools/check.import.sh +++ b/tools/check.import.sh @@ -14,6 +14,9 @@ __check(){ -e "log.py:from collections.abc import Callable, Set" \ -e "from time" -e "input.py:import platform" \ -e "readinputlinux.py:import sys, os, select" \ + -e "readinputlinux_thread.py:import sys, os, select" \ + -e "readinputlinux_thread.py:import threading" \ + -e "readinputlinux_thread.py:import queue" \ -e "term.py:import sys, os, signal" \ -e "ttk.py:import signal" \ -e "ttk.py:import time" \