Commit Graph
4 Commits
Author SHA1 Message Date
Denver Coneybeare e447417fc0 Fix cpplint.py to work under Python 3 (#6201) 2020-08-04 12:30:29 -04:00
Gil 1dffd1bea3 Temporarily run cpplint under python2 (#6198) 2020-08-03 18:07:54 -07:00
Gil 7d09fa869b Require flake8 to actually be on the path. (#3201) 2019-06-17 10:55:03 -07:00
Gil 3e3bcb41f7 Rewrite lint.sh as check_lint.py (#3161)
* Rewrite lint.sh as check_lint.py

This makes several beneficial changes:

  * Runs in parallel: lint all now takes 5.5 seconds, down from 25.
  * Supports linting specific files, passed on the command-line.
  * Defaults to linting files changed since master, pass --all to lint
    everything.
  * Infers header language based on related files.
  * Lays the groundwork for linting more than just C++.
  * Adds support for linting python.

* Fix lint errors

* Use check_lint.py in check.sh

* Remove lint.sh

* Python lint configuration

* Enable python linting in travis
2019-06-14 09:22:55 -07:00