Skip to content

Commit

Permalink
refactor(resize): PEP 3102 keyword-only arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Mar 17, 2024
1 parent 962c1ed commit c5c0d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libtmux/pane.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def cmd(self, cmd: str, *args: t.Any) -> tmux_cmd:

def resize(
self,
/,
# Adjustments
adjustment_direction: t.Optional[ResizeAdjustmentDirection] = None,
adjustment: t.Optional[int] = None,
Expand Down
1 change: 1 addition & 0 deletions src/libtmux/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def split(

def resize(
self,
/,
# Adjustments
adjustment_direction: t.Optional[ResizeAdjustmentDirection] = None,
adjustment: t.Optional[int] = None,
Expand Down

0 comments on commit c5c0d5d

Please sign in to comment.