Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum committed May 23, 2024
1 parent 135fa26 commit 2e0b024
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dvc/repo/artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@


def check_name_format(name: str) -> None:
from gto.constants import assert_name_is_valid # type: ignore[import-not-found]
from gto.exceptions import ValidationError # type: ignore[import-not-found]
from gto.constants import assert_name_is_valid
from gto.exceptions import ValidationError

try:
assert_name_is_valid(name)
Expand Down Expand Up @@ -132,7 +132,7 @@ def get_rev(
self, name: str, version: Optional[str] = None, stage: Optional[str] = None
):
"""Return revision containing the given artifact."""
from gto.base import sort_versions # type: ignore[import-not-found]
from gto.base import sort_versions
from gto.tag import find, parse_tag

assert not (version and stage)
Expand Down

0 comments on commit 2e0b024

Please sign in to comment.