tarantool / checkpatch

Checkpatch for Tarantool
GNU General Public License v2.0
2 stars 2 forks source link

checkpatch marks possible repeated words as errors #45

Closed rtolkacheva closed 1 year ago

rtolkacheva commented 1 year ago

https://github.com/tarantool/tarantool/actions/runs/3189947115/jobs/5205860251#logs

ERROR:REPEATED_WORD: Possible repeated word: 'Select'
#159: FILE: test/fuzz/sql_fuzzer/sql_query.proto:7:
+        Select select = 1;

ERROR:REPEATED_WORD: Possible repeated word: 'Limit'
#181: FILE: test/fuzz/sql_fuzzer/sql_query.proto:29:
+    optional Limit limit = 10;

ERROR:REPEATED_WORD: Possible repeated word: 'Engine'
#328: FILE: test/fuzz/sql_fuzzer/sql_query.proto:176:
+    optional Engine engine = 5;

ERROR:REPEATED_WORD: Possible repeated word: 'Term'
#511: FILE: test/fuzz/sql_fuzzer/sql_query.proto:359:
+    required Term term = 2;

There repeated words are not mistaken or copied by an accident, protobuf's message name and field name are the same by choice.