mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add pragma no cover
This commit is contained in:
parent
0355349b81
commit
f3e30a0949
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def _unstaged_changes_cleared(patch_dir: str) -> Generator[None, None, None]:
|
|||
(sys.platform == 'darwin' or sys.platform == 'win32') and
|
||||
os.path.exists('./.git/fsmonitor--daemon.ipc') and
|
||||
cmd_output_b('git', 'fsmonitor--daemon', 'status')[0] == 0
|
||||
):
|
||||
): # pragma: no cover
|
||||
logger.warning(
|
||||
'The fsmonitor daemon is running; '
|
||||
'a bug in the fsmonitor daemon sometimes causes data loss '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue