Skip to content

Commit ec8abe2

Browse files
committed
tests(plugins[tmuxp_test_plugin_owc]): Note pydocstyle updates
1 parent 568d3ca commit ec8abe2

File tree

1 file changed

+4
-0
lines changed
  • tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_owc/tmuxp_test_plugin_owc

1 file changed

+4
-0
lines changed

tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_owc/tmuxp_test_plugin_owc/plugin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Tmuxp example plugin for on_window_create."""
12
import typing as t
23

34
from tmuxp.plugin import TmuxpPlugin
@@ -7,10 +8,13 @@
78

89

910
class PluginOnWindowCreate(TmuxpPlugin):
11+
"""Tmuxp plugin to test custom functionality on window creation."""
12+
1013
def __init__(self) -> None:
1114
self.message: str = "[+] This is the Tmuxp Test Plugin"
1215

1316
def on_window_create(self, window: "Window") -> None:
17+
"""Apply hook that runs for tmux on session reattach."""
1418
if window.name == "editor":
1519
window.rename_window("plugin_test_owc")
1620
elif window.name == "owc_mw_test":

0 commit comments

Comments
 (0)