Skip to content

Commit

Permalink
Ignore cpplint for third-party ares_nameser.h
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Aug 12, 2021
1 parent aff98a5 commit 2ca1b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cpplint.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@
# uppercase character, such as Python.h or nsStringAPI.h, for example).
# - Lua headers.
_THIRD_PARTY_HEADERS_PATTERN = re.compile(
r'^(?:[^/]*[A-Z][^/]*\.h|lua\.h|lauxlib\.h|lualib\.h)$')
r'^(?:[^/]*[A-Z][^/]*\.h|lua\.h|lauxlib\.h|lualib\.h|ares_nameser.h)$')

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

0 comments on commit 2ca1b78

Please sign in to comment.