ci: Improve pep8 script
Rewrite the script in python. Invoke pep8 for a list of files given in the command line. Exclude files which are not python ones (their names don't end with .py) or are not real files (i.e. have been removed during the last commit).
Showing with 87 additions and 15 deletions