summaryrefslogtreecommitdiff
path: root/buildscripts/clang_format.py
diff options
context:
space:
mode:
authorRamon Fernandez <ramon@mongodb.com>2016-08-26 16:55:02 -0400
committerRamon Fernandez <ramon@mongodb.com>2016-08-26 16:58:13 -0400
commit1653251f733b4b807da5b386534b4289aef77873 (patch)
tree88d2ab8823cf8d10267adbdbbdc94ca264bf3a56 /buildscripts/clang_format.py
parent2a0e9dbf6eb741192917f51f9be016a98ea18906 (diff)
downloadmongo-1653251f733b4b807da5b386534b4289aef77873.tar.gz
SERVER-25814 Do not lint the vendored gotools
Diffstat (limited to 'buildscripts/clang_format.py')
-rwxr-xr-xbuildscripts/clang_format.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/clang_format.py b/buildscripts/clang_format.py
index 0e9cb7e7416..ce6ea8538e8 100755
--- a/buildscripts/clang_format.py
+++ b/buildscripts/clang_format.py
@@ -500,7 +500,8 @@ class Repo(object):
file_list = [line.rstrip()
for line in gito.splitlines()
if (line.startswith("jstests") or line.startswith("src"))
- and not line.startswith("src/third_party")]
+ and not line.startswith("src/third_party/")
+ and not line.startswith("src/mongo/gotools/")]
files_match = re.compile('\\.(h|cpp|js)$')