We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e3ed5 commit cade75cCopy full SHA for cade75c
tests/lint.py
@@ -134,7 +134,7 @@ def process(fname, allow_type):
134
arr = fname.rsplit('.', 1)
135
if fname.find('#') != -1 or arr[-1] not in allow_type:
136
return
137
- if arr[-1] in CXX_SUFFIX:
+ if arr[-1] in CXX_SUFFIX and (not fname.endswith(".pb.h")) and (not fname.endswith(".pb.cc")):
138
_HELPER.process_cpp(fname, arr[-1])
139
if arr[-1] in PYTHON_SUFFIX:
140
_HELPER.process_python(fname)
0 commit comments