@@ -269,12 +269,12 @@ def __str__(self, term_type_table=None):
269269 elif opt .startswith ('established' ):
270270 if self .term .protocol == ['tcp' ]:
271271 if 'tcp-established;' not in from_str :
272- from_str .append (family_keywords ['tcp-est' ] + ';' )
272+ from_str .append (family_keywords ['tcp-est' ] + ';' ) # pyrefly: ignore[unsupported-operation]
273273
274274 # if tcp-established specified, but more than just tcp is included
275275 # in the protocols, raise an error
276276 elif opt .startswith ('tcp-established' ):
277- flag = family_keywords ['tcp-est' ] + ';'
277+ flag = family_keywords ['tcp-est' ] + ';' # pyrefly: ignore[unsupported-operation]
278278 if self .term .protocol == ['tcp' ]:
279279 if flag not in from_str :
280280 from_str .append (flag )
@@ -347,7 +347,7 @@ def __str__(self, term_type_table=None):
347347 address = summarizer .Summarize (address )
348348
349349 if address :
350- config .Append ('%s {' % family_keywords ['addr' ])
350+ config .Append ('%s {' % family_keywords ['addr' ]) # pyrefly: ignore[unsupported-operation]
351351 for addr in address :
352352 for comment in self ._Comment (addr ):
353353 config .Append ('%s' % comment )
@@ -373,7 +373,7 @@ def __str__(self, term_type_table=None):
373373 src_addr , src_addr_ex = self ._MinimizePrefixes (src_addr , src_addr_ex )
374374
375375 if src_addr :
376- config .Append ('%s {' % family_keywords ['saddr' ])
376+ config .Append ('%s {' % family_keywords ['saddr' ]) # pyrefly: ignore[unsupported-operation]
377377 for addr in src_addr :
378378 for comment in self ._Comment (addr ):
379379 config .Append ('%s' % comment )
@@ -407,7 +407,7 @@ def __str__(self, term_type_table=None):
407407 dst_addr , dst_addr_ex = self ._MinimizePrefixes (dst_addr , dst_addr_ex )
408408
409409 if dst_addr :
410- config .Append ('%s {' % family_keywords ['daddr' ])
410+ config .Append ('%s {' % family_keywords ['daddr' ]) # pyrefly: ignore[unsupported-operation]
411411 for addr in dst_addr :
412412 for comment in self ._Comment (addr ):
413413 config .Append ('%s' % comment )
@@ -507,7 +507,7 @@ def __str__(self, term_type_table=None):
507507 if 'icmpv6' in self .term .protocol :
508508 loc = self .term .protocol .index ('icmpv6' )
509509 self .term .protocol [loc ] = 'icmp6'
510- config .Append (family_keywords ['protocol' ] + ' ' +
510+ config .Append (family_keywords ['protocol' ] + ' ' + # pyrefly: ignore[unsupported-operation]
511511 self ._Group (self .term .protocol ))
512512
513513 # protocol
@@ -516,7 +516,7 @@ def __str__(self, term_type_table=None):
516516 if 'icmpv6' in self .term .protocol_except :
517517 loc = self .term .protocol_except .index ('icmpv6' )
518518 self .term .protocol_except [loc ] = 'icmp6'
519- config .Append (family_keywords ['protocol-except' ] + ' ' +
519+ config .Append (family_keywords ['protocol-except' ] + ' ' + # pyrefly: ignore[unsupported-operation]
520520 self ._Group (self .term .protocol_except ))
521521
522522 if self .term .traffic_type :
@@ -686,7 +686,7 @@ def __str__(self, term_type_table=None):
686686 # If there is a routing-instance defined, skip reject/accept/etc actions.
687687 if not self .term .routing_instance :
688688 for action in self .term .action :
689- config .Append (self .ACTIONS .get (action ) + ';' )
689+ config .Append (self .ACTIONS .get (action ) + ';' ) # pyrefly: ignore[unsupported-operation]
690690
691691 # DSCP SET
692692 if self .term .dscp_set :
0 commit comments