cretz / doogie

A Chromium-based web browser with tree-style pages
https://cretz.github.io/doogie
MIT License
279 stars 28 forks source link

Run lint using python2 instead of python. #49

Closed dwarfcrank closed 7 years ago

dwarfcrank commented 7 years ago

On some distros (such as Arch Linux) python points to python3 rather than python2. This causes issues with the lint command, as cpplint.py doesn't seem to work on Python 3.

Simply replacing python with python2 won't work, as the default Windows installation doesn't have python2.exe, just python.exe, so a special case is needed.

Running plain python should work on macOS as well.

CLAassistant commented 7 years ago

CLA assistant check
All committers have signed the CLA.

cretz commented 7 years ago

Thanks!