Skip to content

Commit 65da8a5

Browse files
committed
linting
1 parent ecaf3a2 commit 65da8a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyprland/command.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
TASK_TIMEOUT = 120.0
2727

28-
PYPR_DEMO = os.environ.get("PYPR_DEMO", False)
28+
PYPR_DEMO = os.environ.get("PYPR_DEMO")
2929

3030
__all__: list[str] = []
3131

@@ -48,7 +48,7 @@ async def _wrapper(self: Self, full_name: str, *args, **kwargs) -> bool:
4848
if key == _dedup_last_call.get(full_name):
4949
return True
5050
_dedup_last_call[full_name] = key
51-
return cast(bool, await fn(self, full_name, *args, **kwargs))
51+
return cast("bool", await fn(self, full_name, *args, **kwargs))
5252

5353
return _wrapper
5454

@@ -389,7 +389,7 @@ async def run_daemon() -> None:
389389
if events_reader is None:
390390
manager.log.critical("Failed to open hyprland event stream: %s.", events_writer)
391391
await notify_fatal("Failed to open hyprland event stream")
392-
raise PyprError from cast(Exception, events_writer)
392+
raise PyprError from cast("Exception", events_writer)
393393

394394
manager.event_reader = events_reader
395395

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-12"
3+
VERSION = "2.4.5-13"

0 commit comments

Comments
 (0)