Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 272b0ca

Browse files
committedAug 8, 2024·
resolve ruff check failing
1 parent 1b1df64 commit 272b0ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎strings/string_is_valid_number.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
from enum import Enum
9-
from typing import Dict
109

1110

1211
class CharType(Enum):
@@ -27,7 +26,7 @@ class State(Enum):
2726
EXP_NUMBER = "EXP_NUMBER"
2827

2928

30-
state_machine: Dict[State, Dict[CharType, State]] = {
29+
state_machine: dict[State, dict[CharType, State]] = {
3130
State.INITIAL: {
3231
CharType.NUMERIC: State.WHOLE,
3332
CharType.SIGN: State.SIGNED,

0 commit comments

Comments
 (0)
Please sign in to comment.