Skip to content

Commit

Permalink
spelling: remove redundant checking for third_party (envoyproxy#21095)
Browse files Browse the repository at this point in the history
Commit Message:
Additional Description:
Risk Level: low
Testing: unit test

Signed-off-by: kuochunghsu <[email protected]>
  • Loading branch information
JuniorHsu authored May 2, 2022
1 parent bea34e7 commit 2166245
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tools/spelling/check_spelling_pedantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,10 +812,7 @@ def execute(files, dictionary_file, fix):

# Exclude ./third_party/ directory from spell checking, even when requested through arguments.
# Otherwise git pre-push hook checks it for merged commits.
paths = [
path for path in paths
if not path.startswith('./third_party/') and not path.startswith('./third_party/')
]
paths = [path for path in paths if not path.startswith('./third_party/')]

exts = ['.cc', '.h', '.proto']
if args.test_ignore_exts:
Expand Down

0 comments on commit 2166245

Please sign in to comment.