Skip to content

Commit fa3a5a1

Browse files
committed
linting
1 parent a3f434c commit fa3a5a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyprland/plugins/scratchpads/objects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ def forced_monitor(self) -> str | None:
6262
"""Returns forced monitor if available, else None."""
6363
forced_monitor = self.conf.get("force_monitor")
6464
if forced_monitor in state.monitors:
65-
return cast(str, forced_monitor)
65+
return cast("str", forced_monitor)
6666
return None
6767

68-
def _make_intial_config(self, config: dict) -> dict:
68+
def _make_initial_config(self, config: dict) -> dict:
6969
"""Return configuration for the scratchpad."""
7070
opts = {}
7171
scratch_config = config[self.uid]
@@ -85,7 +85,7 @@ def _make_intial_config(self, config: dict) -> dict:
8585

8686
def set_config(self, full_config: dict[str, Any]) -> None:
8787
"""Apply constraints to the configuration."""
88-
opts = self._make_intial_config(full_config)
88+
opts = self._make_initial_config(full_config)
8989

9090
# apply the config
9191
self.conf = DynMonitorConfig(opts, opts.get("monitor", {}))
@@ -174,7 +174,7 @@ def address(self) -> str:
174174
@property
175175
def full_address(self) -> str:
176176
"""Return the client address."""
177-
return cast(str, self.client_info.get("address", ""))
177+
return cast("str", self.client_info.get("address", ""))
178178

179179
async def update_client_info(
180180
self,

pyprland/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package version."""
22

3-
VERSION = "2.4.5-18"
3+
VERSION = "2.4.5-19"

0 commit comments

Comments
 (0)