File tree 3 files changed +22
-2
lines changed
3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ install:
19
19
if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
20
20
$env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
21
21
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
23
23
- ps : |
24
24
Start-FileDownload 'https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.zip'
25
25
7z x eigen-3.3.7.zip -y > $null
Original file line number Diff line number Diff line change @@ -63,4 +63,23 @@ ignore =
63
63
64
64
[mypy]
65
65
files = 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")
5
5
pytest == 4.6.9 ; python_version < "3.5"
6
6
pytest == 6.1.2 ; python_version == "3.5"
7
7
pytest == 6.2.1 ; python_version >= "3.6"
8
+ pytest-timeout
8
9
scipy == 1.2.3 ; (platform_python_implementation!="PyPy" or sys_platform=="linux" ) and python_version<"3.6"
9
10
scipy == 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