Skip to content

Commit

Permalink
run isort via pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
finswimmer committed Sep 21, 2020
1 parent 144555c commit 72b88e3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Defaults to `false`.

If set to `true`, the virtualenv wil be created and expected in a folder named `.venv` within the root directory of the project.

If set to `None`, `poetry` will use the virtualenv from the `.venv` directory only if available.
If set to `None`, `poetry` will use the virtualenv from the `.venv` directory only if available.

### `virtualenvs.path`: string

Expand Down
1 change: 0 additions & 1 deletion poetry/installation/chooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import Tuple

from packaging.tags import Tag

from poetry.core.packages.package import Package
from poetry.core.packages.utils.link import Link
from poetry.repositories.pool import Pool
Expand Down
7 changes: 4 additions & 3 deletions poetry/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@
from typing import Tuple
from typing import Union

import packaging.tags
import tomlkit
import virtualenv

from clikit.api.io import IO

import packaging.tags
import virtualenv

from packaging.tags import Tag
from packaging.tags import interpreter_name
from packaging.tags import interpreter_version
from packaging.tags import sys_tags

from poetry.core.semver import parse_constraint
from poetry.core.semver.version import Version
from poetry.core.version.markers import BaseMarker
Expand Down
1 change: 0 additions & 1 deletion tests/installation/test_chef.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from packaging.tags import Tag

from poetry.core.packages.utils.link import Link
from poetry.installation.chef import Chef
from poetry.utils._compat import Path
Expand Down
1 change: 0 additions & 1 deletion tests/installation/test_chooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest

from packaging.tags import Tag

from poetry.core.packages.package import Package
from poetry.installation.chooser import Chooser
from poetry.repositories.legacy_repository import LegacyRepository
Expand Down
3 changes: 1 addition & 2 deletions tests/repositories/test_installed_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

import pytest

from pytest_mock.plugin import MockFixture

from poetry.core.packages import Package
from poetry.repositories.installed_repository import InstalledRepository
from poetry.utils._compat import PY36
from poetry.utils._compat import Path
from poetry.utils._compat import metadata
from poetry.utils._compat import zipp
from poetry.utils.env import MockEnv as BaseMockEnv
from pytest_mock.plugin import MockFixture


FIXTURES_DIR = Path(__file__).parent / "fixtures"
Expand Down

0 comments on commit 72b88e3

Please sign in to comment.