Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 3bde961

Browse files
committed
Get rid of old # type comments
1 parent 08ab0ab commit 3bde961

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cli_ui/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222

2323
# Global variable to store configuration
2424

25-
CONFIG = {
25+
CONFIG: Dict[str, ConfigValue] = {
2626
"verbose": os.environ.get("VERBOSE"),
2727
"quiet": False,
2828
"color": "auto",
2929
"title": "auto",
3030
"timestamp": False,
3131
"record": False, # used for testing
32-
} # type: Dict[str, ConfigValue]
32+
}
3333

3434

3535
# used for testing
@@ -188,7 +188,7 @@ def process_tokens(
188188
"""
189189
# Flatten the list of tokens in case some of them are of
190190
# class UnicodeSequence:
191-
flat_tokens = [] # type: List[Token]
191+
flat_tokens: List[Token] = []
192192
for token in tokens:
193193
if isinstance(token, UnicodeSequence):
194194
flat_tokens.extend(token.tuple())

0 commit comments

Comments
 (0)