Skip to content

Commit a2c121a

Browse files
committed
tests(fixtures[utils]): Note pydocstyle updates
1 parent c7a799c commit a2c121a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/fixtures/utils.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""Utility functions for tmuxp fixtures."""
12
import pathlib
23
import typing as t
34

@@ -14,7 +15,9 @@ def get_workspace_file(
1415
return FIXTURE_PATH / _file
1516

1617

17-
def read_workspace_file(_file: t.Union[pathlib.Path, str]) -> str:
18+
def read_workspace_file(
19+
_file: t.Union[pathlib.Path, str],
20+
) -> str:
1821
"""Return fixture data, relative to __file__."""
1922
if isinstance(_file, str):
2023
_file = pathlib.Path(_file)
@@ -23,8 +26,11 @@ def read_workspace_file(_file: t.Union[pathlib.Path, str]) -> str:
2326

2427

2528
def write_config(
26-
config_path: pathlib.Path, filename: str, content: str
29+
config_path: pathlib.Path,
30+
filename: str,
31+
content: str,
2732
) -> pathlib.Path:
33+
"""Write configuration content to file."""
2834
config = config_path / filename
2935
config.write_text(content, encoding="utf-8")
3036
return config

0 commit comments

Comments
 (0)