Skip to content

Commit

Permalink
Merge branch 'use-future-for-forward-type-annotations' into develop-0…
Browse files Browse the repository at this point in the history
….0.x
  • Loading branch information
sinoroc committed Oct 14, 2020
2 parents 425e3a1 + ffcdd65 commit bc361cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/tox_poetry_dev_dependencies/_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

"""Tox plugin hooks."""

from __future__ import annotations

import pathlib
import typing

Expand Down Expand Up @@ -172,7 +174,7 @@ def _add_dev_dependencies(

def _add_index_servers(
tox_config: tox.config.Config,
index_servers: 'IndexServersT',
index_servers: IndexServersT,
) -> None:
#
for env_config in tox_config.envconfigs.values():
Expand All @@ -182,7 +184,7 @@ def _add_index_servers(

def _add_index_servers_as_pip_env_vars(
env_config: tox.config.TestenvConfig,
index_servers: 'IndexServersT',
index_servers: IndexServersT,
) -> None:
#
pip_index_server = index_servers[0]
Expand Down Expand Up @@ -238,7 +240,7 @@ def _get_dev_requirements(

def _get_index_servers(
poetry_: poetry.core.poetry.Poetry,
) -> 'IndexServersT':
) -> IndexServersT:
#
poetry_source_repos = poetry_.local_config.get('source', [])
#
Expand Down

0 comments on commit bc361cb

Please sign in to comment.