Skip to content

Commit fb629d4

Browse files
committed
remove unnecessarily var
1 parent 438f952 commit fb629d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nameless/config.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ class NamelessConfig(TypedDict):
3535
_content: str = f.read()
3636

3737
# Maybe add a type checker here, using the annotation from the TypedDict
38-
raw_config = loads(_content)
39-
nameless_config: NamelessConfig = NamelessConfig(**raw_config) # pyright: ignore[reportAny]
38+
nameless_config: NamelessConfig = NamelessConfig(**loads(_content)) # pyright: ignore[reportAny]

0 commit comments

Comments
 (0)