File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ install:
1919 if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
2020 $env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
2121 python -W ignore -m pip install --upgrade pip wheel
22- python -W ignore -m pip install pytest numpy --no-warn-script-location
22+ python -W ignore -m pip install pytest numpy --no-warn-script-location pytest-timeout
2323 - ps : |
2424 Start-FileDownload 'https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.zip'
2525 7z x eigen-3.3.7.zip -y > $null
Original file line number Diff line number Diff line change @@ -63,4 +63,23 @@ ignore =
6363
6464[mypy]
6565files = pybind11
66- strict = True
66+ python_version = 2.7
67+ warn_unused_configs = True
68+
69+ # Currently (0.800) identical to --strict
70+ disallow_any_generics = True
71+ disallow_subclassing_any = True
72+ disallow_untyped_calls = True
73+ disallow_untyped_defs = True
74+ disallow_incomplete_defs = True
75+ check_untyped_defs = True
76+ disallow_untyped_decorators = True
77+ no_implicit_optional = True
78+ warn_redundant_casts = True
79+ warn_unused_ignores = True
80+ warn_return_any = True
81+ no_implicit_reexport = True
82+ strict_equality = True
83+
84+ [tool:pytest]
85+ timeout = 300
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ numpy==1.19.3; (platform_python_implementation!="PyPy" or sys_platform=="linux")
55pytest == 4.6.9 ; python_version < "3.5"
66pytest == 6.1.2 ; python_version == "3.5"
77pytest == 6.2.1 ; python_version >= "3.6"
8+ pytest-timeout
89scipy == 1.2.3 ; (platform_python_implementation!="PyPy" or sys_platform=="linux" ) and python_version<"3.6"
910scipy == 1.5.4 ; (platform_python_implementation!="PyPy" or sys_platform=="linux" ) and python_version>="3.6" and python_version<"3.10"
You can’t perform that action at this time.
0 commit comments