Skip to content

Commit 97f872e

Browse files
committed
Add new generated keywords
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 397c9d1 commit 97f872e

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

src/summarycode/generated.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,24 @@ def generated_scanner(location, **kwargs):
157157
'function: static codebooks autogenerated by',
158158

159159
# yarn lock
160-
'THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.',
161-
'This file has been automatically created by',
162-
'Please do not edit this file, all changes will be lost',
160+
'this is an autogenerated file. do not edit this file directly.',
161+
'this file has been automatically created by',
162+
'please do not edit this file, all changes will be lost',
163+
164+
# thrift
165+
'this is an automatically-generated file.',
166+
'it could get re-generated if the allow_idl_generation flag is on',
167+
168+
# aws sdk ruby
169+
'warning about generated code',
170+
'this file is generated. see the contributing guide for more information',
171+
'this file is generated',
172+
173+
# seen in Go files:
174+
'code generated file. do not edit',
163175

164176
# protoc
165-
'Generated by the protocol buffer compiler. DO NOT EDIT!',
177+
'generated by the protocol buffer compiler. do not edit!',
166178

167179
))
168180

0 commit comments

Comments
 (0)