Just like #640 but: 1. Does a git diff and only checks newly added .cpp files 2. Embeds the Python code directly in the .yml file