pygments / pygments.rb

💎 Ruby wrapper for Pygments syntax highlighter
MIT License
572 stars 141 forks source link

remove unused imports, lint with PEP8 #184

Closed tony closed 3 years ago

tony commented 6 years ago

Removes unused imports, fixes for PEP8 compliance

tony commented 6 years ago

These are changes I incorporated when vendorized github.py into a non-ruby python project. I check my code against flake8 so these are the changes I made.

I also made a issue on pygment's tracker for porting the lexers from github.py upstream: https://bitbucket.org/birkenfeld/pygments-main/issues/1391/some-additional-lexers-to-move-upstream

That would also make #183's issue go away unless more custom lexers crop up that pygments doesn't have ported in yet.