Skip to content

Commit

Permalink
Get rid of old # type comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dmerejkowsky committed Dec 22, 2023
1 parent 9d0c926 commit d4e6adb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli_ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

# Global variable to store configuration

CONFIG = {
CONFIG: Dict[str, ConfigValue] = {
"verbose": os.environ.get("VERBOSE"),
"quiet": False,
"color": "auto",
"title": "auto",
"timestamp": False,
"record": False, # used for testing
} # type: Dict[str, ConfigValue]
}


# used for testing
Expand Down Expand Up @@ -188,7 +188,7 @@ def process_tokens(
"""
# Flatten the list of tokens in case some of them are of
# class UnicodeSequence:
flat_tokens = [] # type: List[Token]
flat_tokens: List[Token] = []
for token in tokens:
if isinstance(token, UnicodeSequence):
flat_tokens.extend(token.tuple())
Expand Down

0 comments on commit d4e6adb

Please sign in to comment.