We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28420ad commit dcbcf35Copy full SHA for dcbcf35
.github/workflows/matchers/ruff.json
@@ -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
@@ -28,7 +28,8 @@ jobs:
28
pip install -r requirements-lint.txt
29
- name: Analysing the code with ruff
30
run: |
31
- ruff check .
+ echo "::add-matcher::.github/workflows/matchers/ruff.json"
32
+ ruff check --output-format github .
33
- name: Spelling check with codespell
34
35
codespell --toml pyproject.toml
0 commit comments