File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 11# flake8: NOQA: W605
2- """Helper methods and mixins.
2+ """Helper methods and mixins for libtmux .
33
44libtmux.common
55~~~~~~~~~~~~~~
3636
3737
3838class EnvironmentMixin :
39- """
40- Mixin class for managing session and server level environment variables in
41- tmux.
42- """
39+ """Mixin for manager session and server level environment variables in tmux."""
4340
4441 _add_option = None
4542
@@ -431,8 +428,7 @@ def has_minimum_version(raises: bool = True) -> bool:
431428
432429
433430def session_check_name (session_name : t .Optional [str ]) -> None :
434- """
435- Raises exception session name invalid, modeled after tmux function.
431+ """Raise exception session name invalid, modeled after tmux function.
436432
437433 tmux(1) session names may not be empty, or include periods or colons.
438434 These delimiters are reserved for noting session, window and pane.
@@ -456,7 +452,7 @@ def session_check_name(session_name: t.Optional[str]) -> None:
456452
457453
458454def handle_option_error (error : str ) -> t .Type [exc .OptionError ]:
459- """Raises exception if error in option command found.
455+ """Raise exception if error in option command found.
460456
461457 In tmux 3.0, show-option and show-window-option return invalid option instead of
462458 unknown option. See https://github.com/tmux/tmux/blob/3.0/cmd-show-options.c.
You can’t perform that action at this time.
0 commit comments