mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	run-codespell: Update codespell exclude list.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 4fb97576e9)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Alex Vandiver
					
				
			
			
				
	
			
			
			
						parent
						
							c61799aef9
						
					
				
				
					commit
					88b6f1fe14
				
			@@ -16,3 +16,5 @@ fpr
 | 
				
			|||||||
alls
 | 
					alls
 | 
				
			||||||
nd
 | 
					nd
 | 
				
			||||||
ot
 | 
					ot
 | 
				
			||||||
 | 
					falsy
 | 
				
			||||||
 | 
					ro
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,20 @@
 | 
				
			|||||||
IGNORE_WORDS_FILE=.codespellignore
 | 
					IGNORE_WORDS_FILE=.codespellignore
 | 
				
			||||||
if [ "$#" -eq 0 ]; then
 | 
					if [ "$#" -eq 0 ]; then
 | 
				
			||||||
    echo "No argument specified. Checking on the entire repo..."
 | 
					    echo "No argument specified. Checking on the entire repo..."
 | 
				
			||||||
    FILES_TO_BE_CHECKED="$(git ls-files -- ':(exclude)locale' ':(exclude)*fixtures*' ':(exclude)*.svg' ':(exclude)docs/translating' ':(exclude)yarn.lock' ':(exclude)docs/THIRDPARTY' ':(exclude)*postgresql.conf.template.erb' ':(exclude)tools/setup/emoji/emoji_names.py' ':(exclude)tools/setup/emoji/emoji_map.json' ':(exclude)zerver/management/data/unified_reactions.json')"
 | 
					    FILES_TO_BE_CHECKED="$(
 | 
				
			||||||
 | 
					        git ls-files -- \
 | 
				
			||||||
 | 
					            ':!*.asc' \
 | 
				
			||||||
 | 
					            ':!*.svg' \
 | 
				
			||||||
 | 
					            ':!*/fixtures/*' \
 | 
				
			||||||
 | 
					            ':!docs/THIRDPARTY' \
 | 
				
			||||||
 | 
					            ':!docs/translating' \
 | 
				
			||||||
 | 
					            ':!locale' \
 | 
				
			||||||
 | 
					            ':!postgresql.conf.template.erb' \
 | 
				
			||||||
 | 
					            ':!tools/setup/emoji/emoji_map.json' \
 | 
				
			||||||
 | 
					            ':!tools/setup/emoji/emoji_names.py' \
 | 
				
			||||||
 | 
					            ':!yarn.lock' \
 | 
				
			||||||
 | 
					            ':!zerver/management/data/unified_reactions.json'
 | 
				
			||||||
 | 
					    )"
 | 
				
			||||||
    mapfile -t FILES_TO_BE_CHECKED <<<"$FILES_TO_BE_CHECKED"
 | 
					    mapfile -t FILES_TO_BE_CHECKED <<<"$FILES_TO_BE_CHECKED"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
    FILES_TO_BE_CHECKED=("$@")
 | 
					    FILES_TO_BE_CHECKED=("$@")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user