Skip to content

Commit 4140006

Browse files
committed
chore(black): Format src/ and tests/
1 parent c8c319c commit 4140006

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed

src/tmuxp/log.py

-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ def debug_log_template(
141141
stylized: t.Optional[bool] = False,
142142
**kwargs: t.Any,
143143
) -> str:
144-
145144
"""
146145
Return the prefix for the log message. Template for Formatter.
147146

src/tmuxp/workspace/finders.py

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def in_dir(
4747
workspace_dir: t.Union[pathlib.Path, str] = os.path.expanduser("~/.tmuxp"),
4848
extensions: t.List["ValidExtensions"] = [".yml", ".yaml", ".json"],
4949
) -> t.List[str]:
50-
5150
"""
5251
Return a list of workspace_files in ``workspace_dir``.
5352

src/tmuxp/workspace/loader.py

-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ def trickle(workspace_dict):
217217
suppress_history = None
218218

219219
for window_dict in workspace_dict["windows"]:
220-
221220
# Prepend start_directory to relative window commands
222221
if session_start_directory:
223222
if "start_directory" not in window_dict:

tests/cli/test_cli.py

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def test_pass_config_dir_ClickPath(
8383
monkeypatch: pytest.MonkeyPatch,
8484
capsys: pytest.CaptureFixture,
8585
) -> None:
86-
8786
configdir = tmp_path / "myconfigdir"
8887
configdir.mkdir()
8988
user_config_name = "myconfig"

tests/tests/test_helpers.py

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def test_if_session_killed_before(server: Server) -> None:
2424
session_name = get_test_session_name(server=server)
2525

2626
with temp_session(server=server, session_name=session_name):
27-
2827
# an error or an exception within a temp_session kills the session
2928
server.kill_session(session_name)
3029

tests/workspace/test_import_teamocil.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def test_config_to_dict(
3939
teamocil_dict: t.Dict[str, t.Any],
4040
tmuxp_dict: t.Dict[str, t.Any],
4141
) -> None:
42-
4342
yaml_to_dict = config_reader.ConfigReader._load(
4443
format="yaml", content=teamocil_yaml
4544
)
@@ -51,10 +50,12 @@ def test_config_to_dict(
5150

5251

5352
@pytest.fixture(scope="module")
54-
def multisession_config() -> t.Dict[
55-
str,
56-
t.Dict[str, t.Any],
57-
]:
53+
def multisession_config() -> (
54+
t.Dict[
55+
str,
56+
t.Dict[str, t.Any],
57+
]
58+
):
5859
"""Return loaded multisession teamocil config as a dictionary.
5960
6061
Also prevents re-running assertion the loads the yaml, since ordering of

0 commit comments

Comments
 (0)