mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	mypy: Enable redundant-expr errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							944c036df1
						
					
				
				
					commit
					c944adfcc6
				
			@@ -218,7 +218,7 @@ def check_capitalization(strings: List[str]) -> Tuple[List[str], List[str], List
 | 
			
		||||
        capitalized = is_capitalized(safe_text)
 | 
			
		||||
        if not capitalized:
 | 
			
		||||
            errors.append(text)
 | 
			
		||||
        elif capitalized and has_ignored_phrase:
 | 
			
		||||
        elif has_ignored_phrase:
 | 
			
		||||
            ignored.append(text)
 | 
			
		||||
 | 
			
		||||
        banned_word_errors.extend(check_banned_words(text))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user