build(deps-dev): bump scmrepo from 0.1.6 to 0.1.7 (#8821)

* build(deps-dev): bump scmrepo from 0.1.6 to 0.1.7

Bumps [scmrepo](https://github.com/iterative/scmrepo) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/iterative/scmrepo/releases)
- [Commits](https://github.com/iterative/scmrepo/compare/0.1.6...0.1.7)

---
updated-dependencies:
- dependency-name: scmrepo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* mypy: remove scmrepo from ignored modules

* Fix mypy issues

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected]>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected]>
This commit is contained in:
dependabot[bot]
2023-01-28 14:26:00 +05:45
committed by GitHub
co-authored by skshetry Saugat Pachhai
parent 7ab4c59d70
commit 98bcfad8e7
29 changed files with 96 additions and 58 deletions
+1 -2
View File
@@ -2,9 +2,8 @@ from funcy import first
def test_diff_no_commits(tmp_dir):
from scmrepo.git import Git
from dvc.repo import Repo
from dvc.scm import Git
git = Git.init(tmp_dir.fs_path)
assert git.no_commits
+1 -2
View File
@@ -50,9 +50,8 @@ def make_executor_info(**kwargs):
@pytest.mark.vscode
def test_show_no_commits(tmp_dir):
from scmrepo.git import Git
from dvc.repo import Repo
from dvc.scm import Git
git = Git.init(tmp_dir.fs_path)
assert git.no_commits
+1 -2
View File
@@ -149,9 +149,8 @@ def test_metrics_diff_with_unchanged(tmp_dir, scm, dvc, run_copy_metrics):
def test_no_commits(tmp_dir):
from scmrepo.git import Git
from dvc.repo import Repo
from dvc.scm import Git
git = Git.init(tmp_dir.fs_path)
assert git.no_commits
+1 -2
View File
@@ -130,9 +130,8 @@ def test_pipeline_tracked_params(tmp_dir, scm, dvc, run_copy):
def test_no_commits(tmp_dir):
from scmrepo.git import Git
from dvc.repo import Repo
from dvc.scm import Git
git = Git.init(tmp_dir.fs_path)
assert git.no_commits
+1 -2
View File
@@ -52,9 +52,8 @@ def test_diff_dirty(tmp_dir, scm, dvc, run_copy_metrics):
@pytest.mark.vscode
def test_no_commits(tmp_dir):
from scmrepo.git import Git
from dvc.repo import Repo
from dvc.scm import Git
git = Git.init(tmp_dir.fs_path)
assert git.no_commits
+1 -2
View File
@@ -321,9 +321,8 @@ def test_no_changes(tmp_dir, scm, dvc):
def test_no_commits(tmp_dir):
from scmrepo.git import Git
from dvc.repo import Repo
from dvc.scm import Git
git = Git.init(tmp_dir.fs_path)
assert git.no_commits
+1 -2
View File
@@ -1,9 +1,8 @@
import os
from unittest.mock import ANY
from scmrepo.git import Git
from dvc.external_repo import CLONES, external_repo
from dvc.scm import Git
from dvc.testing.tmp_dir import make_subrepo
from dvc.utils import relpath
from dvc.utils.fs import remove
+1 -1
View File
@@ -3,7 +3,6 @@ import os
import pytest
from funcy import first
from scmrepo.git import Git
from dvc.annotations import Annotation
from dvc.config import NoRemoteError
@@ -11,6 +10,7 @@ from dvc.dvcfile import load_file
from dvc.exceptions import DownloadError, PathMissingError
from dvc.fs import system
from dvc.odbmgr import ODBManager
from dvc.scm import Git
from dvc.stage.exceptions import StagePathNotFoundError
from dvc.testing.tmp_dir import make_subrepo
from dvc.utils.fs import remove