Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixNicolaeBucsa committed Nov 26, 2024
1 parent 046e4ee commit d252954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/spelling/check_spelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def split_underscore_words(word):
css_value_pattern = re.compile(r'^\d+(px|%|em|rem|vh|vw|pt|cm|mm|in|s|ms|deg)?$') # CSS values
hex_color_pattern = re.compile(r'^(#?[A-Fa-f0-9]{3}|#?[A-Fa-f0-9]{6})$') # Hex colors
eth_address_pattern = re.compile(r'^0x[a-fA-F0-9]{40}$') # Ethereum addresses
hash_pattern = re.compile(r'^[a-f0-9]{40}$') # Hash-like strings (40 hex characters)
hash_pattern = re.compile(r'^[a-f0-9]{40}$') # Hash-like strings

# Filter out custom words, valid words with apostrophes,
# words matching escape sequences, "n-prefixed" words, CSS values, hex colors, ETH addresses, and hash strings
Expand Down Expand Up @@ -134,4 +134,4 @@ def check_directory(directory):
has_errors = check_directory(directory_path)

# Return False if errors were found
sys.exit(1 if has_errors else 0)
sys.exit(1 if has_errors else 0)

0 comments on commit d252954

Please sign in to comment.