Skip to content

Commit 2101653

Browse files
committed
ci: Run through black 21.6b0
1 parent a2d5066 commit 2101653

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

libtmux/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def console_to_str(s):
10-
""" From pypa/pip project, pip.backwardwardcompat. License MIT. """
10+
"""From pypa/pip project, pip.backwardwardcompat. License MIT."""
1111
try:
1212
return s.decode(console_encoding, 'ignore')
1313
except UnicodeDecodeError:

libtmux/pane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def clear(self):
148148
self.send_keys('reset')
149149

150150
def reset(self):
151-
"""Reset and clear pane history. """
151+
"""Reset and clear pane history."""
152152

153153
self.cmd('send-keys', r'-R \; clear-history')
154154

tests/test_pane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
def test_resize_pane(session):
8-
""" Test Pane.resize_pane(). """
8+
"""Test Pane.resize_pane()."""
99

1010
window = session.attached_window
1111
window.rename_window('test_resize_pane')

tests/test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ def test_socket_name(server):
2525

2626

2727
def test_socket_path(server):
28-
""" ``-S`` socket_path (alternative path for server socket). """
28+
"""``-S`` socket_path (alternative path for server socket)."""
2929
myserver = Server(socket_path='test')
3030

3131
assert myserver.socket_path == 'test'
3232

3333

3434
def test_config(server):
35-
""" ``-f`` file for tmux(1) configuration. """
35+
"""``-f`` file for tmux(1) configuration."""
3636
myserver = Server(config_file='test')
3737
assert myserver.config_file == 'test'
3838

tests/test_window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_attached_pane(session):
9494

9595

9696
def test_split_window(session):
97-
"""Window.split_window() splits window, returns new Pane, vertical. """
97+
"""Window.split_window() splits window, returns new Pane, vertical."""
9898
window_name = 'test split window'
9999
window = session.new_window(window_name=window_name, attach=True)
100100
pane = window.split_window()
@@ -119,7 +119,7 @@ def test_split_window_shell(session):
119119

120120

121121
def test_split_window_horizontal(session):
122-
"""Window.split_window() splits window, returns new Pane, horizontal. """
122+
"""Window.split_window() splits window, returns new Pane, horizontal."""
123123
window_name = 'test split window'
124124
window = session.new_window(window_name=window_name, attach=True)
125125
pane = window.split_window(vertical=False)

0 commit comments

Comments
 (0)