mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	ruff: Fix E721 Use is and is not for type comparisons.
				
					
				
			This is a preview rule, not yet enabled by default. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							0e71f52e86
						
					
				
				
					commit
					dbb20d636d
				
			@@ -551,7 +551,7 @@ do not match the types declared in the implementation of {function.__name__}.\n"
 | 
			
		||||
                    # the respective sets so that they can be dealt
 | 
			
		||||
                    # with later.  In either case remove the variable
 | 
			
		||||
                    # from `json_params`.
 | 
			
		||||
                    if vtype == str:
 | 
			
		||||
                    if vtype is str:
 | 
			
		||||
                        json_params.pop(vname, None)
 | 
			
		||||
                        continue
 | 
			
		||||
                    else:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user