You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2014/04/25 19:16:12 UTC

git commit: Updated mesos-style.py with already-passing rules.

Repository: mesos
Updated Branches:
  refs/heads/master 3847dd8bd -> 5764fa54a


Updated mesos-style.py with already-passing rules.

Review: https://reviews.apache.org/r/20649


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5764fa54
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5764fa54
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5764fa54

Branch: refs/heads/master
Commit: 5764fa54a3e01a502f40669cc9965439dffe76f9
Parents: 3847dd8
Author: Adam B <ad...@mesosphere.io>
Authored: Fri Apr 25 10:15:54 2014 -0700
Committer: Vinod Kone <vi...@twitter.com>
Committed: Fri Apr 25 10:15:54 2014 -0700

----------------------------------------------------------------------
 support/mesos-style.py | 75 ++++++---------------------------------------
 1 file changed, 10 insertions(+), 65 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/5764fa54/support/mesos-style.py
----------------------------------------------------------------------
diff --git a/support/mesos-style.py b/support/mesos-style.py
index edd41f9..4649edb 100755
--- a/support/mesos-style.py
+++ b/support/mesos-style.py
@@ -8,71 +8,16 @@ import re
 import subprocess
 import sys
 
-# Build active rules from list:
-#
-# build/class
-# build/deprecated
-# build/endif_comment
-# build/explicit_make_pair
-# build/forward_decl
-# build/header_guard
-# build/include
-# build/include_alpha
-# build/include_order
-# build/include_what_you_use
-# build/namespaces
-# build/printf_format
-# build/storage_class
-# legal/copyright
-# readability/alt_tokens
-# readability/braces
-# readability/casting
-# readability/check
-# readability/constructors
-# readability/fn_size
-# readability/function
-# readability/multiline_comment
-# readability/multiline_string
-# readability/namespace
-# readability/nolint
-# readability/streams
-# readability/todo
-# readability/utf8
-# runtime/arrays
-# runtime/casting
-# runtime/explicit
-# runtime/int
-# runtime/init
-# runtime/invalid_increment
-# runtime/member_string_references
-# runtime/memset
-# runtime/operator
-# runtime/printf
-# runtime/printf_format
-# runtime/references
-# runtime/rtti
-# runtime/sizeof
-# runtime/string
-# runtime/threadsafe_fn
-# whitespace/blank_line
-# whitespace/braces
-# whitespace/comma
-# whitespace/comments
-# whitespace/empty_loop_body
-# whitespace/end_of_line
-# whitespace/ending_newline
-# whitespace/forcolon
-# whitespace/indent
-# whitespace/labels
-# whitespace/line_length
-# whitespace/newline
-# whitespace/operators
-# whitespace/parens
-# whitespace/semicolon
-# whitespace/tab
-# whitespace/todo
-
-active_rules = ['build/class', 'build/deprecated', 'whitespace/tab']
+# See cpplint.py for full list of rules.
+active_rules = ['build/class',
+                'build/deprecated',
+                'build/endif_comment',
+                'runtime/vlog',
+                'whitespace/comma',
+                'whitespace/ending_newline',
+                'whitespace/forcolon',
+                'whitespace/tab',
+                'whitespace/todo']
 
 # Root source paths (will be traversed recursively).
 source_dirs = ['src',