[ovs-dev] [PATCH v3 0/7] checkpatch: enhancements

Aaron Conole aconole at redhat.com
Mon May 1 19:44:36 UTC 2017


The following series refactors checkpatch to make
file-type specific checks.  This lets checkpatch have
finer grained checks, and should reduce the amount
of false positives.

Additionally, I've incorporated an older request to print
files in the more standard `filename:lineno: ` form that
most editors support out of the box.  And while I was in
there, I added pretty colors, because we all need some
color in our terminals.

v2:
* Fix flake8 errors
* Remove python from the line-length errors blacklist

v3:
* Fix the remaining flake8 errors (make flake8-check
  passes on my system)

Aaron Conole (7):
  checkpatch: introduce a flexible framework
  checkpatch: common print_line
  checkpatch: move the checks to the framework
  checkpatch: correct a parsing issue
  checkpatch: print conformance
  checkpatch: filename from hunks fix
  checkpatch: fix pointer declaration

 utilities/checkpatch.py | 166 ++++++++++++++++++++++++++++++++----------------
 1 file changed, 112 insertions(+), 54 deletions(-)

-- 
2.9.3



More information about the dev mailing list