We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 083f5f8 commit 071ec81Copy full SHA for 071ec81
src/tmuxp/exc.py
@@ -80,10 +80,10 @@ class TmuxpPluginException(TmuxpException):
80
81
82
class BeforeLoadScriptNotExists(OSError):
83
- def __init__(self, *args, **kwargs) -> None:
+ def __init__(self, *args: object, **kwargs: object) -> None:
84
super().__init__(*args, **kwargs)
85
86
- self.strerror = "before_script file '%s' doesn't exist." % self.strerror
+ self.strerror = f"before_script file '{self.strerror}' doesn't exist."
87
88
89
@implements_to_string
@@ -106,5 +106,5 @@ def __init__(
106
f"{self.output}"
107
)
108
109
- def __str__(self):
+ def __str__(self) -> str:
110
return self.message
0 commit comments