chore: use the new github actions reporter for pylint (#1827)

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner
2024-05-15 23:15:53 -04:00
committed by GitHub
parent 666a2c3f1a
commit f8894e67f5
3 changed files with 2 additions and 36 deletions
-32
View File
@@ -1,32 +0,0 @@
{
"problemMatcher": [
{
"severity": "warning",
"pattern": [
{
"regexp": "^([^:]+):(\\d+):(\\d+): ([A-DF-Z]\\d+): \\033\\[[\\d;]+m([^\\033]+).*$",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
}
],
"owner": "pylint-warning"
},
{
"severity": "error",
"pattern": [
{
"regexp": "^([^:]+):(\\d+):(\\d+): (E\\d+): \\033\\[[\\d;]+m([^\\033]+).*$",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
}
],
"owner": "pylint-error"
}
]
}
+1 -3
View File
@@ -28,9 +28,7 @@ jobs:
- name: Check manifest
run: pipx run nox -s check_manifest
- name: PyLint checks
run: |
echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json"
pipx run nox -s pylint
run: pipx run nox -s pylint -- --output-format=github
test:
name: Test cibuildwheel on ${{ matrix.os }} (${{ matrix.python_version }})
+1 -1
View File
@@ -50,7 +50,7 @@ def pylint(session: nox.Session) -> None:
Run pylint.
"""
session.install("pylint", ".")
session.install("pylint>=3.2", "-e.")
session.run("pylint", "cibuildwheel", *session.posargs)