diff options
| author | 2021-06-30 22:18:56 +0200 | |
|---|---|---|
| committer | 2021-07-06 02:02:12 +0200 | |
| commit | 12dc173cea1d2846c405743dde7c3df36c75659e (patch) | |
| tree | 33a08a60401d6f69064a1d9dde84667b61db1d2f | |
| parent | Update strings to use double quotes (diff) | |
Remove unnecessary typehint
| -rw-r--r-- | bot/exts/info/tags.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/exts/info/tags.py b/bot/exts/info/tags.py index 9b477d7cc..594a3e409 100644 --- a/bot/exts/info/tags.py +++ b/bot/exts/info/tags.py @@ -5,7 +5,7 @@ import logging  import re  import time  from pathlib import Path -from typing import Callable, Iterable, List, Literal, NamedTuple, Optional, Union +from typing import Callable, Iterable, Literal, NamedTuple, Optional, Union  import discord  import frontmatter @@ -171,7 +171,7 @@ class Tags(Cog):          `predicate` will be the built-in any, all, or a custom callable. Must return a bool.          """ -        keywords_processed: List[str] = [] +        keywords_processed = []          for keyword in keywords.split(","):              keyword_sanitized = keyword.strip().casefold()              if not keyword_sanitized: | 
