Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
dfd951ed
Unverified
Commit
dfd951ed
authored
Oct 19, 2024
by
Russell Bryant
Committed by
GitHub
Oct 19, 2024
Browse files
[CI/Build] Add error matching for ruff output (#9513)
Signed-off-by:
Russell Bryant
<
rbryant@redhat.com
>
parent
82c25151
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
.github/workflows/matchers/ruff.json
.github/workflows/matchers/ruff.json
+17
-0
.github/workflows/ruff.yml
.github/workflows/ruff.yml
+2
-1
No files found.
.github/workflows/matchers/ruff.json
0 → 100644
View file @
dfd951ed
{
"problemMatcher"
:
[
{
"owner"
:
"ruff"
,
"pattern"
:
[
{
"regexp"
:
"^(.+?):(
\\
d+):(
\\
d+): (
\\
w+): (.+)$"
,
"file"
:
1
,
"line"
:
2
,
"column"
:
3
,
"code"
:
4
,
"message"
:
5
}
]
}
]
}
.github/workflows/ruff.yml
View file @
dfd951ed
...
...
@@ -28,7 +28,8 @@ jobs:
pip install -r requirements-lint.txt
-
name
:
Analysing the code with ruff
run
:
|
ruff check .
echo "::add-matcher::.github/workflows/matchers/ruff.json"
ruff check --output-format github .
-
name
:
Spelling check with codespell
run
:
|
codespell --toml pyproject.toml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment