download the Run on Save plugin from emerald walk in vscode. cmd+p to open command pallete type "Enable: Run on Save" and select to turn on. add a false assertion to add.py save file watch the undo
(reference. Kent Beck TCR)[https://www.youtube.com/watch?v=FFzHOyFeovE]