Skip to content

Commit

Permalink
style: Sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
serverwentdown committed Oct 20, 2021
1 parent 0af1015 commit c2baf68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion poetry/installation/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
from cleo.io.null_io import NullIO

from poetry.core.packages.file_dependency import FileDependency
from poetry.core.packages.utils.utils import url_to_path
from poetry.core.packages.utils.link import Link
from poetry.core.packages.utils.utils import url_to_path
from poetry.core.pyproject.toml import PyProjectTOML
from poetry.utils._compat import decode
from poetry.utils.env import EnvCommandError
Expand Down
4 changes: 2 additions & 2 deletions poetry/utils/pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from pathlib import Path
from typing import Union

from poetry.core.packages.utils.link import Link
from poetry.core.packages.utils.utils import url_to_path
from poetry.exceptions import PoetryException
from poetry.utils.env import Env
from poetry.utils.env import EnvCommandError
from poetry.utils.env import ephemeral_environment
from poetry.core.packages.utils.link import Link
from poetry.core.packages.utils.utils import url_to_path


def pip_install(
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/test_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import pytest

from poetry.utils.pip import pip_install
from poetry.core.packages.utils.link import Link
from poetry.core.packages.utils.utils import path_to_url
from poetry.utils.pip import pip_install


def test_pip_install_successful(tmp_dir, tmp_venv, fixture_dir):
Expand Down

0 comments on commit c2baf68

Please sign in to comment.