Skip to content

Commit

Permalink
Remove a branch from main() to pass Ruff CI check. (#2962)
Browse files Browse the repository at this point in the history
  • Loading branch information
korverdev authored Jul 24, 2023
1 parent 6f392fe commit e718d34
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,10 +1063,8 @@ def main(*args: str) -> int:
return EX_USAGE
uri_ignore_words = parse_ignore_words_option(options.uri_ignore_words_list)

if options.dictionary:
dictionaries = options.dictionary
else:
dictionaries = ["-"]
dictionaries = options.dictionary if options.dictionary else ["-"]

use_dictionaries = []
for dictionary in dictionaries:
if dictionary == "-":
Expand Down

0 comments on commit e718d34

Please sign in to comment.