mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	mypy: Enable new errors redundant-self, truthy-iterable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Anders Kaseorg
					
				
			
			
				
	
			
			
			
						parent
						
							417b29638c
						
					
				
				
					commit
					b4a2e71b6b
				
			@@ -26,8 +26,10 @@ warn_return_any = false
 | 
			
		||||
 | 
			
		||||
# Enable optional errors.
 | 
			
		||||
enable_error_code = [
 | 
			
		||||
    "redundant-self",
 | 
			
		||||
    "redundant-expr",
 | 
			
		||||
    "truthy-bool",
 | 
			
		||||
    "truthy-iterable",
 | 
			
		||||
    "ignore-without-code",
 | 
			
		||||
    "unused-awaitable",
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user