File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,21 @@ jobs:
37
37
REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
38
run : |
39
39
set -o pipefail
40
- MPLBACKEND=agg python -m mypy.stubtest \
41
- --mypy-config-file pyproject.toml \
42
- --allowlist ci/mypy-stubtest-allowlist.txt \
43
- matplotlib | \
44
- reviewdog \
45
- -efm '%Eerror: %m' \
46
- -efm '%CStub: in file %f:%l' \
47
- -efm '%CStub: in file %f' \
48
- -efm '%+CRuntime:%.%#' \
49
- -efm '%+CMISSING' \
50
- -efm '%+Cdef %.%#' \
51
- -efm '%+C<%.%#>' \
52
- -efm '%Z' \
53
- -reporter=github-check -tee -name=mypy-stubtest \
54
- -filter-mode=nofilter
40
+ (MPLBACKEND=agg python -m mypy.stubtest
41
+ --mypy-config-file pyproject.toml
42
+ --allowlist ci/mypy-stubtest-allowlist.txt
43
+ matplotlib || true) |
44
+ sed '/_deprecated_parameter_class/,+5d' |
45
+ reviewdog \
46
+ -efm '%Eerror: %m' \
47
+ -efm '%CStub: in file %f:%l' \
48
+ -efm '%CStub: in file %f' \
49
+ -efm '%+CRuntime:%.%#' \
50
+ -efm '%+CMISSING' \
51
+ -efm '%+Cdef %.%#' \
52
+ -efm '%+C<%.%#>' \
53
+ -efm '%Z' \
54
+ -reporter=github-check -tee -name=mypy-stubtest \
55
+ -filter-mode=nofilter |
56
+ tee /dev/fd/1 |
57
+ { ! grep -q '^error:'; }
You can’t perform that action at this time.
0 commit comments