File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,9 @@ def from_mypy(
262262 os .path .abspath (str (item .fspath )): [] for item in items
263263 } # type: MypyResults._abspath_errors_type
264264
265- stdout , stderr , status = mypy .api .run (opts + list (abspath_errors ))
265+ stdout , stderr , status = mypy .api .run (
266+ opts + [os .path .relpath (key ) for key in abspath_errors .keys ()]
267+ )
266268
267269 unmatched_lines = []
268270 for line in stdout .split ("\n " ):
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ def pyfunc(x):
364364 """ ,
365365 )
366366 result = testdir .runpytest_subprocess ("--mypy" , * xdist_args )
367- result .stdout .fnmatch_lines (["1: error: Function is missing a type annotation" ])
367+ result .stdout .fnmatch_lines (["1: error: Function is missing a type annotation* " ])
368368 assert result .ret != 0
369369
370370
Original file line number Diff line number Diff line change 7171 mypy0.95: mypy >= 0.950, < 0.960
7272 mypy0.96: mypy >= 0.960, < 0.970
7373 mypy0.97: mypy >= 0.970, < 0.980
74+ mypy0.98: mypy >= 0.980, < 0.990
75+ mypy0.99: mypy >= 0.990, <= 0.999
7476 mypy0.9x: mypy >= 0.900, <= 0.999
7577
7678 packaging ~= 21.3
You can’t perform that action at this time.
0 commit comments