File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -134,17 +134,10 @@ def generate_guideline_template():
134
134
amplification = "Description of the guideline goes here." ,
135
135
rationale = "Explanation of why this guideline is important." ,
136
136
non_compliant_ex_prose = "Explanation of code example." ,
137
- non_compliant_ex = """
138
- fn example_function() {
139
- // Non-compliant implementation
140
- }
141
- """ ,
137
+ non_compliant_ex = """ fn example_function() {\n // Non-compliant implementation\n } """ ,
142
138
compliant_example_prose = "Explanation of code example." ,
143
- compliant_example = """
144
- fn example_function() {
145
- // Compliant implementation
146
- }
147
- """ )
139
+ compliant_example = """ fn example_function() {\n // Compliant implementation\n } """ ,
140
+ )
148
141
return template
149
142
150
143
def parse_args ():
You can’t perform that action at this time.
0 commit comments