Skip to content

Commit

Permalink
Merge pull request #34 from jcfr/tweak-suffix-handling
Browse files Browse the repository at this point in the history
BUG: Remove unused test when setting suffixes
  • Loading branch information
dave3d authored Jul 10, 2023
2 parents 673c8cc + 9bbf1e0 commit fd10ef9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,7 @@ def main():

bad_words = []

if not args.suffix:
suffixes = list(SUFFIX2MIME.keys())
else:
suffixes = args.suffix
suffixes = [*set(args.suffix)] # remove duplicates

if any([args.brief, output_lvl >= 0]):
print(f"Prefixes: {prefixes}")
Expand Down

0 comments on commit fd10ef9

Please sign in to comment.