mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
add helper script to run mypy daemon
This commit is contained in:
parent
d13762bd32
commit
08b76e4489
1 changed files with 13 additions and 0 deletions
13
qt/dmypy-watch.sh
Executable file
13
qt/dmypy-watch.sh
Executable 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'
|
||||
|
Loading…
Reference in a new issue