Skip to content

Commit

Permalink
Use tox-pip-extensions for creating the virtualenvs
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaensch committed Jan 14, 2019
1 parent a008107 commit a0efb3e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bravado_asyncio/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def request(
connect_timeout = request_params.get('connect_timeout') # type: Optional[float]
request_timeout = request_params.get('timeout') # type: Optional[float]
# mypy thinks the type of total and connect is float, even though it is Optional[float]. Let's ignore the error.
timeout = aiohttp.ClientTimeout( # type: ignore
timeout = aiohttp.ClientTimeout(
total=request_timeout,
connect=connect_timeout,
) if (connect_timeout or request_timeout) else None
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ mock
mypy
pytest
tox
tox-pip-extensions
u-msgpack-python
wheel
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[tox]
envlist = py35, py36, pre-commit
tox_pip_extensions_ext_venv_update = true
tox_pip_extensions_ext_pip_custom_platform = true

[testenv]
deps =
Expand Down

0 comments on commit a0efb3e

Please sign in to comment.