[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]
2026-02-09 23:34:55 +00:00
parent 656689fbe9
commit 6073f3f197
10 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ def test_diff_show_markdown_and_hash(mocker, show_hash, dvc):
cmd = args.func(args)
diff = {}
show_hash = show_hash if show_hash else False
show_hash = show_hash or False
mock_show_markdown = mocker.patch("dvc.commands.diff._show_markdown")
mocker.patch("dvc.repo.Repo.diff", return_value=diff.copy())