File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class QcWarning
139139 link_text : 'Link parent' ,
140140 link_to : -> ( _w , n ) { [ :edit_parent , n ] } ,
141141 recommendations : %w[ 7 ] ,
142- scope : -> ( _w , n ) { n . rank? && !n . top_rank? }
142+ scope : -> ( _w , n ) { n . rank? && !n . top_rank? } ,
143143 failure : -> ( _w , n ) { !n . incertae_sedis? && !n . parent . present? }
144144 } ,
145145
@@ -165,7 +165,7 @@ class QcWarning
165165 end
166166 )
167167 } ,
168- failure : -> ( _w . n ) {
168+ failure : -> ( _w , n ) {
169169 regexp =
170170 case n . inferred_rank
171171 when 'subspecies' ; /\A [A-Z][a-z]+ [a-z]+ subsp\. [a-z]+\z /
@@ -451,7 +451,7 @@ class QcWarning
451451 rules : -> ( _w , n ) {
452452 %w[ 16 ] + ( n . inferred_rank == 'genus' ? %w[ 21a ] : [ ] )
453453 } ,
454- scope : -> ( _w , n ) { n . rank? && n . type_is_name? }
454+ scope : -> ( _w , n ) { n . rank? && n . type_is_name? } ,
455455 failure : -> ( _w , n ) { n . type_name &.rank == n . expected_type_rank }
456456 } . merge ( @@link_to_edit_type ) ,
457457 # - Rule 17 covered in § Rule 16
You can’t perform that action at this time.
0 commit comments