Skip to content

Commit aa859d2

Browse files
committed
refactor(resize): PEP 3102 keyword-only arguments
1 parent 84f1b5f commit aa859d2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libtmux/pane.py

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def cmd(self, cmd: str, *args: t.Any) -> tmux_cmd:
149149

150150
def resize(
151151
self,
152+
/,
152153
# Adjustments
153154
adjustment_direction: t.Optional[ResizeAdjustmentDirection] = None,
154155
adjustment: t.Optional[int] = None,

src/libtmux/window.py

+1
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ def split(
252252

253253
def resize(
254254
self,
255+
/,
255256
# Adjustments
256257
adjustment_direction: t.Optional[ResizeAdjustmentDirection] = None,
257258
adjustment: t.Optional[int] = None,

0 commit comments

Comments
 (0)