Skip to content

Commit 2519202

Browse files
committed
[requires.io] dependency update
1 parent 18ca93e commit 2519202

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

tox.ini

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,18 @@ deps =
5858
{[testenv:coverage_report]deps}
5959
pytest-cov==2.9.0
6060

61+
# For hypothesis. Note Python 3.4 isn't supported by hypothesis.
62+
py27: hypothesis==4.43.9
63+
{py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.6
64+
py27: mock==4.0.2
65+
6166
setenv =
6267
{[default]setenv}
6368

6469
COVERAGE_FILE={toxworkdir}/coverage.{envname}
70+
HYPOTHESIS_STORAGE_DIRECTORY={toxworkdir}/hypothesis
71+
72+
passenv = CI
6573

6674
commands =
6775
pytest --cov={env:PY_MODULE} --cov-report=term-missing:skip-covered --doctest-modules {posargs:src/{env:PY_MODULE}}
@@ -205,8 +213,20 @@ warn_return_any = True
205213
warn_unreachable = True
206214
warn_unused_ignores = True
207215

216+
# DrawCallable is generic
217+
218+
[mypy-hyperlink.hypothesis]
219+
disallow_any_generics = False
220+
[mypy-hyperlink.test.test_hypothesis]
221+
disallow_any_generics = False
222+
208223
# Don't complain about dependencies known to lack type hints
209224

225+
[mypy-hypothesis]
226+
ignore_missing_imports = True
227+
[mypy-hypothesis.*]
228+
ignore_missing_imports = True
229+
210230
[mypy-idna]
211231
ignore_missing_imports = True
212232

0 commit comments

Comments
 (0)