We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 438f952 commit fb629d4Copy full SHA for fb629d4
nameless/config.py
@@ -35,5 +35,4 @@ class NamelessConfig(TypedDict):
35
_content: str = f.read()
36
37
# 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]
+nameless_config: NamelessConfig = NamelessConfig(**loads(_content)) # pyright: ignore[reportAny]
0 commit comments