diff --git a/.github/matchers/pylint.json b/.github/matchers/pylint.json deleted file mode 100644 index e3a6bd16..00000000 --- a/.github/matchers/pylint.json +++ /dev/null @@ -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" - } - ] -} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af3e6be3..98df08c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}) diff --git a/noxfile.py b/noxfile.py index 3c289a67..f12f5006 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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)