add helper script to run mypy daemon

This commit is contained in:
Damien Elmes 2021-02-01 17:29:03 +10:00
parent d13762bd32
commit 08b76e4489

13
qt/dmypy-watch.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
#
# semi-working support for mypy daemon
# - install fs_watch
# - build anki/aqt wheels first
# - create a new venv and activate it
# - install the wheels
# - then run this script from this folder
(sleep 1 && touch aqt)
. ~/pyenv/bin/activate
fswatch -o aqt | xargs -n1 -I{} sh -c 'printf \\033c; dmypy run aqt'