Skip to content

Commit

Permalink
Put import at top-level
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Sep 8, 2023
1 parent aef30f1 commit cb36182
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions conda_lock/conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import yaml

from ensureconda.api import ensureconda
from ensureconda.resolve import platform_subdir
from typing_extensions import Literal

from conda_lock.click_helpers import OrderedGroup
Expand Down Expand Up @@ -947,8 +948,6 @@ def _render_lockfile_for_install(

lock_content = parse_conda_lock_file(pathlib.Path(filename))

from ensureconda.resolve import platform_subdir

platform = platform_subdir()
if platform not in lock_content.metadata.platforms:
suggested_platforms_section = "platforms:\n- "
Expand Down

0 comments on commit cb36182

Please sign in to comment.