ci: run mypy tests only when python code changes

2 jobs for branch/default in 53 seconds (queued for 13 seconds)