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(
262
262
os .path .abspath (str (item .fspath )): [] for item in items
263
263
} # type: MypyResults._abspath_errors_type
264
264
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
+ )
266
268
267
269
unmatched_lines = []
268
270
for line in stdout .split ("\n " ):
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ def pyfunc(x):
364
364
""" ,
365
365
)
366
366
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* " ])
368
368
assert result .ret != 0
369
369
370
370
Original file line number Diff line number Diff line change 71
71
mypy0.95: mypy >= 0.950, < 0.960
72
72
mypy0.96: mypy >= 0.960, < 0.970
73
73
mypy0.97: mypy >= 0.970, < 0.980
74
+ mypy0.98: mypy >= 0.980, < 0.990
75
+ mypy0.99: mypy >= 0.990, <= 0.999
74
76
mypy0.9x: mypy >= 0.900, <= 0.999
75
77
76
78
packaging ~= 21.3
You can’t perform that action at this time.
0 commit comments