Get list of .py files to lint using just git diff

Instead of using series of commands connected by pipes to get a list of modified files with status and name, exclude the deleted files and then print just the name, --diff-filter option of git diff command can be used to do it in a concise way