[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-05-18 23:44:28 +00:00
parent c919a1d628
commit c2deff948e

View file

@ -56,9 +56,9 @@ def _unstaged_changes_cleared(patch_dir: str) -> Generator[None, None, None]:
cmd_output('git', 'fsmonitor--daemon', 'status')[0] == 0 cmd_output('git', 'fsmonitor--daemon', 'status')[0] == 0
): ):
logger.warning( logger.warning(
"The fsmonitor daemon is running; " 'The fsmonitor daemon is running; '
"a bug in the fsmonitor daemon sometimes causes data loss " 'a bug in the fsmonitor daemon sometimes causes data loss '
"when running with pre-commit.", 'when running with pre-commit.',
) )
tree = cmd_output('git', 'write-tree')[1].strip() tree = cmd_output('git', 'write-tree')[1].strip()