Dependencies for github backend
Remove unused import and correct some PEP8 warnings