A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 16, 09:30 UTC
[CI/Build] Add error matching for ruff output (#9513)
Signed-off-by: Russell Bryant <rbryant@redhat.com>
Russell Bryant committed
Oct 19, 2024 at 01:42 UTC
dfd951ed9b9eb4af2452764edd808599b5e8901e
2 files changed
+19
-1
.github/workflows/matchers/ruff.json
new
+17
@@ -0,0 +1,17 @@
1
+{
2
+ "problemMatcher": [
3
+ {
4
+ "owner": "ruff",
5
+ "pattern": [
6
+ {
7
+ "regexp": "^(.+?):(\\d+):(\\d+): (\\w+): (.+)$",
8
+ "file": 1,
9
+ "line": 2,
10
+ "column": 3,
11
+ "code": 4,
12
+ "message": 5
13
+ }
14
+ ]
15
+ }
16
+ ]
17
+ }
.github/workflows/ruff.yml
+2
-1
@@ -28,7 +28,8 @@ jobs:
28
pip install -r requirements-lint.txt
29
- name: Analysing the code with ruff
30
run: |
31
- ruff check .
31
+ echo "::add-matcher::.github/workflows/matchers/ruff.json"
32
+ ruff check --output-format github .
33
- name: Spelling check with codespell
34
run: |
35
codespell --toml pyproject.toml