@@ -62,10 +62,10 @@ def forced_monitor(self) -> str | None:
62
62
"""Returns forced monitor if available, else None."""
63
63
forced_monitor = self .conf .get ("force_monitor" )
64
64
if forced_monitor in state .monitors :
65
- return cast (str , forced_monitor )
65
+ return cast (" str" , forced_monitor )
66
66
return None
67
67
68
- def _make_intial_config (self , config : dict ) -> dict :
68
+ def _make_initial_config (self , config : dict ) -> dict :
69
69
"""Return configuration for the scratchpad."""
70
70
opts = {}
71
71
scratch_config = config [self .uid ]
@@ -85,7 +85,7 @@ def _make_intial_config(self, config: dict) -> dict:
85
85
86
86
def set_config (self , full_config : dict [str , Any ]) -> None :
87
87
"""Apply constraints to the configuration."""
88
- opts = self ._make_intial_config (full_config )
88
+ opts = self ._make_initial_config (full_config )
89
89
90
90
# apply the config
91
91
self .conf = DynMonitorConfig (opts , opts .get ("monitor" , {}))
@@ -174,7 +174,7 @@ def address(self) -> str:
174
174
@property
175
175
def full_address (self ) -> str :
176
176
"""Return the client address."""
177
- return cast (str , self .client_info .get ("address" , "" ))
177
+ return cast (" str" , self .client_info .get ("address" , "" ))
178
178
179
179
async def update_client_info (
180
180
self ,
0 commit comments