Skip to content

Commit 70cc065

Browse files
committed
tools: ignore cpplint for third-party ares_nameser.h
1 parent aff98a5 commit 70cc065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cpplint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@
741741
# uppercase character, such as Python.h or nsStringAPI.h, for example).
742742
# - Lua headers.
743743
_THIRD_PARTY_HEADERS_PATTERN = re.compile(
744-
r'^(?:[^/]*[A-Z][^/]*\.h|lua\.h|lauxlib\.h|lualib\.h)$')
744+
r'^(?:[^/]*[A-Z][^/]*\.h|lua\.h|lauxlib\.h|lualib\.h|ares_nameser.h)$')
745745

746746
# Pattern for matching FileInfo.BaseName() against test file name
747747
_test_suffixes = ['_test', '_regtest', '_unittest']

0 commit comments

Comments
 (0)